File: run-examples

package info (click to toggle)
jtdx 2.2.159%2Bimproved-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 75,336 kB
  • sloc: cpp: 38,503; f90: 31,141; python: 27,061; ansic: 11,772; sh: 409; fortran: 353; makefile: 232
file content (12 lines) | stat: -rw-r--r-- 365 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

# Run all the examples, and check the output against the corresponding -out
# file.  Note that slight differences are possible when the examples are
# run on different machines, due to slightly different round-off errors.

for e in `ls ex-* | grep -v "\\." | grep -v .-out` 
do 
  echo Running $e:
  $e 2>&1 | diff ${e}-out -
  echo " "
done