comp.lang.ada
 help / color / mirror / Atom feed
From: Niklas Holsti <niklas.holsti@tidorum.invalid>
Subject: Re: ada lapack
Date: Fri, 17 Aug 2012 14:08:38 +0300
Date: 2012-08-17T14:08:38+03:00	[thread overview]
Message-ID: <a96n1nFgv5U1@mid.individual.net> (raw)
In-Reply-To: <11959826-e12e-4455-b9d9-1ac4dcaf2952@googlegroups.com>

On 12-08-17 13:27 , Ada novice wrote:
> On Friday, August 17, 2012 10:43:22 AM UTC+1, Niklas Holsti wrote:
> 
>> Change this line to have a ./ at the start:
>>
>>
>>
>> 		./$${file} > $${file}.txt; \
>>
> 
> Thanks. It works!

Good.

> I am curious to know why "make tests" in my earlier
> case was giving me the outputs of the matrices while
> now with the new Makefile, I get only
> 
> Testing  example01
> Testing  example02

   ...

Because the Makefile applies "diff" to compare the actual output from
running e.g. the example01 executable and a reference file in the
"output" subfolder. If the files match, "diff" prints nothing. This is
the "no news is good news" principle -- a sucessful test is silent.

In your first try, the shell did not find the executable, so the actual
output file (./example01.txt) became empty, and "diff" showed all the
lines in the reference file (output/example01.txt) as "difference" lines.

>> The files without a suffix, such as example01, are most likely the
>> binaries, also called executables.
> 
> Ok. On my linux system, these files are also in a different colour from the rest.

That depends on the options you use with the "ls" command. (I always
turn off the "color" option -G and use the suffix-flagging option -F
instead, because I find it more readable.)

-- 
Niklas Holsti
Tidorum Ltd
niklas holsti tidorum fi
      .      @       .



  reply	other threads:[~2012-08-20  7:39 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-15  6:16 ada lapack Leo Brewin
2012-08-16  3:34 ` Jerry
2012-08-17  6:25 ` Ada novice
2012-08-17  7:11   ` Leo Brewin
2012-08-17  7:42     ` Ada novice
2012-08-17  9:43       ` Niklas Holsti
2012-08-17 10:27         ` Ada novice
2012-08-17 11:08           ` Niklas Holsti [this message]
2012-08-17 11:33             ` Ada novice
2012-08-17 13:45               ` Leo Brewin
2012-08-17 14:11                 ` Marc C
2012-08-18 11:57                   ` Ada novice
2012-08-18 13:13                     ` Niklas Holsti
2012-08-18 13:48                       ` Ada novice
2012-08-18 15:22                         ` Nasser M. Abbasi
2012-08-18 16:33                           ` Ada novice
2012-08-18 17:32                             ` Simon Wright
2012-08-18 17:44                               ` Nasser M. Abbasi
2012-08-18 20:45                             ` Niklas Holsti
2012-08-18 21:46                               ` Simon Wright
2012-08-19  2:24                                 ` Leo Brewin
2012-08-19  5:39                                   ` Ada novice
2012-08-19  7:10                                     ` Leo Brewin
2012-08-19 13:02                                       ` Simon Wright
2012-08-20 14:05                                         ` Nasser M. Abbasi
2012-08-20 14:57                                           ` Simon Wright
2012-08-20 15:10                                             ` Nasser M. Abbasi
2012-08-20 18:09                                               ` Ada novice
2012-08-20 18:46                                             ` Nasser M. Abbasi
2012-08-20 15:03                                           ` Nasser M. Abbasi
2012-08-20 22:57                                             ` Simon Wright
2012-08-20 23:09                                               ` Nasser M. Abbasi
2012-08-20 23:31                                                 ` Simon Wright
2012-08-21 10:44                                             ` Simon Wright
2012-08-21 14:50                                               ` Nasser M. Abbasi
2012-08-18 22:51                               ` Nasser M. Abbasi
2012-08-18 23:16                                 ` Niklas Holsti
2012-08-18 23:40                                   ` Nasser M. Abbasi
2012-08-19  7:50                                     ` Niklas Holsti
2012-08-19  2:20                             ` Leo Brewin
2012-08-17 14:12                 ` Brian Drummond
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox