Subversion Repositories hepmc

Rev

Rev 130 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 130 Rev 151
Line 2... Line 2...
2
# @configure_input@
2
# @configure_input@
3
3
4
./testDeprecated@EXEEXT@ 
4
./testDeprecated@EXEEXT@ >& testDeprecated.cout
5
5
6
OS=`uname`
6
OS=`uname`
7
case "$OS" in
7
case "$OS" in
8
CYGWIN*)
8
CYGWIN*)
9
  #don't compare these on Windows (hopelessly different default output)
-
 
10
  sed 's/e+0/e+/g' testAscii.dat   | \
9
  cmd1=`sed 's/e+0/e+/g' testAscii.dat   | \
11
     sed 's/e-0/e-/g' -   | \
10
     sed 's/e-0/e-/g' -   | \
12
	@DIFF_Q@ - @srcdir@/testAscii.dat
11
	@DIFF_Q@ - @srcdir@/testAscii.dat`
13
  sed 's/e+0/e+/g'  testHepMCExtended.dat  | \
12
  cmd2=`sed 's/e+0/e+/g'  testHepMCExtended.dat  | \
14
     sed 's/e-0/e-/g'  -  | \
13
     sed 's/e-0/e-/g'  -  | \
15
	@DIFF_Q@ - @srcdir@/testHepMCExtended.dat
14
	@DIFF_Q@ - @srcdir@/testHepMCExtended.dat`
16
  ;;
-
 
17
Darwin*)
-
 
18
  # MacOSX fix
-
 
19
  @DIFF_Q@ testAscii.dat @srcdir@/testAscii.dat
-
 
20
  @DIFF_Q@ testHepMCExtended.dat @srcdir@/testHepMCExtended.dat
-
 
21
  ;;
15
  ;;
22
*)
16
*)
23
  @DIFF_Q@ testAscii.dat @srcdir@/testAscii.dat
17
  cmd1=`@DIFF_Q@ testAscii.dat @srcdir@/testAscii.dat`
24
  @DIFF_Q@ testHepMCExtended.dat @srcdir@/testHepMCExtended.dat
18
  cmd2=`@DIFF_Q@ testHepMCExtended.dat @srcdir@/testHepMCExtended.dat`
25
esac
19
esac
-
 
20
-
 
21
if [ -n "$cmd1" ]
-
 
22
then
-
 
23
  echo $cmd1
-
 
24
  exit 1;
-
 
25
fi
-
 
26
-
 
27
if [ -n "$cmd2" ]
-
 
28
then
-
 
29
  echo $cmd2
-
 
30
  exit 1;
-
 
31
fi
-
 
32
-
 
33
exit 0;