* tests/core/ltlcross4.test: Ignore space diff in pandas' output.
This commit is contained in:
parent
dbcde8e346
commit
acbb51062a
1 changed files with 10 additions and 9 deletions
|
|
@ -57,18 +57,19 @@ EOF
|
||||||
# will exit 77 if panda is not installed
|
# will exit 77 if panda is not installed
|
||||||
$PYTHON test.py >out.1
|
$PYTHON test.py >out.1
|
||||||
|
|
||||||
# remove trailing whitespace from pandas' output,
|
# remove trailing whitespace from pandas' output, and limit to 6
|
||||||
# and limit to 6 lines, because Pandas 0.13 adds
|
# lines, because Pandas 0.13 adds the size of the dataframe
|
||||||
# the size of the dataframe afterwards.
|
# afterwards. Alse the spacing between columns differs from version
|
||||||
sed 's/[ \t]*$//g;6q' <out.1 > py.out
|
# to version.
|
||||||
|
sed 's/[ \t]*$//g;6q' <out.1 | sed 's/ */ /g' > py.out
|
||||||
|
|
||||||
cat >expected <<EOF
|
cat >expected <<EOF
|
||||||
states transitions
|
states transitions
|
||||||
mean std amin amax mean std amin amax
|
mean std amin amax mean std amin amax
|
||||||
tool
|
tool
|
||||||
ltl2tgba any 2.25 0.957427 1 3 10.00 5.163978 4 16
|
ltl2tgba any 2.25 0.957427 1 3 10.00 5.163978 4 16
|
||||||
ltl2tgba det 2.25 0.957427 1 3 9.25 4.573474 4 14
|
ltl2tgba det 2.25 0.957427 1 3 9.25 4.573474 4 14
|
||||||
ltl2tgba sma 2.25 0.957427 1 3 9.25 4.573474 4 14
|
ltl2tgba sma 2.25 0.957427 1 3 9.25 4.573474 4 14
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
diff py.out expected
|
diff py.out expected
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue