Changeset 5209 for icGREP/icgrep-devel


Ignore:
Timestamp:
Nov 9, 2016, 12:37:41 PM (3 years ago)
Author:
cameron
Message:

Set non-zero return code if either files or messages differ

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/QA/u8u16/run_all

    r5205 r5209  
    44#
    55# Usage: ./run_all test_program
    6 # Example ./run_all ../u8u16_mmx
     6# Example ./run_all ../u8u16
    77#
    88test_dir=`echo "$0" | sed "s/[^\/]*$//"`
     
    2626done
    2727
    28 echo "diff -q ExpectedOutput/Files TestOutput/Files"
    29 diff -q ExpectedOutput/Files TestOutput/Files
    30 echo "diff ExpectedOutput/Messages TestOutput/Messages"
    31 diff ExpectedOutput/Messages TestOutput/Messages
     28if diff -q ExpectedOutput/Files TestOutput/Files
     29  then
     30    diff ExpectedOutput/Messages TestOutput/Messages
     31  else
     32    exit 2
     33fi
     34
Note: See TracChangeset for help on using the changeset viewer.