File: run_dimension_test

package info (click to toggle)
frobby 0.9.6-1~exp1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 11,616 kB
  • sloc: cpp: 30,134; sh: 1,184; makefile: 306; ansic: 102; lisp: 10
file content (27 lines) | stat: -rwxr-xr-x 721 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/bash

testHelper=../testScripts/testhelper
frobby=../../bin/frobby
test="$1"
shift
inputFile="$test.test"

if [ "$1" = "_full" ]; then
  shift;

  $testHelper dimension $test.test $test.dim $* -useSlice
  if [ $? != 0 ]; then exit 1; fi

  $frobby transform < $test.test -radical -minimize > /tmp/frobbyTestTmp 2> /dev/null

  $testHelper dimension /tmp/frobbyTestTmp $test.dim $* -squareFreeAndMinimal
  if [ $? != 0 ]; then rm /tmp/frobbyTestTmp; exit 1; fi

  $testHelper dimension /tmp/frobbyTestTmp $test.dim $* -useSlice -squareFreeAndMinimal
  if [ $? != 0 ]; then rm /tmp/frobbyTestTmp; exit 1; fi

  rm /tmp/frobbyTestTmp;
fi

$testHelper dimension $test.test $test.dim $*
if [ $? != 0 ]; then exit 1; fi