Commit f68aedf5 authored by Kohei Yoshida's avatar Kohei Yoshida

Execute parser tests for 1-8 threads.

parent beaac157
......@@ -24,14 +24,20 @@ missing
*.la
*.lo
*.cache
*.log
*.trs
*~
.libs
stamp-h1
tags
test-driver
ChangeLog
bin/env.sh
misc/libixion.spec
src/ixion-parser
src/ixion-parser.exe
src/ixion-sorter
src/ixion-sorter.exe
src/libixion/constants.inl
src/libixion/ixion-test
libixion-*.*.*.tar.*
......@@ -28,4 +28,13 @@ AM_TESTS_ENVIRONMENT = PATH=.libs$${PATH:+:$${PATH}}; export PATH; \
LD_LIBRARY_PATH=libixion/.libs$${LD_LIBRARY_PATH:+:$${LD_LIBRARY_PATH}}; export LD_LIBRARY_PATH; \
DYLD_LIBRARY_PATH=$${LD_LIBRARY_PATH}}; export DYLD_LIBRARY_PATH;
TESTS = ../test/ixion-parser-test.sh
TESTS = \
../test/parser-test-t0.sh \
../test/parser-test-t1.sh \
../test/parser-test-t2.sh \
../test/parser-test-t3.sh \
../test/parser-test-t4.sh \
../test/parser-test-t5.sh \
../test/parser-test-t6.sh \
../test/parser-test-t7.sh \
../test/parser-test-t8.sh
#!/usr/bin/env bash
PROGDIR=`dirname $0`
SRCDIR=$PROGDIR/../src
export PATH=$SRCDIR:$SRCDIR/.libs:$PATH
ixion-parser $PROGDIR/*.txt
#!/usr/bin/env bash
exec_test()
{
PROGDIR=`dirname $0`
SRCDIR=$PROGDIR/../src
export PATH=$SRCDIR:$SRCDIR/.libs:$PATH
ixion-parser -t $1 $PROGDIR/*.txt
}
#!/usr/bin/env bash
PROGDIR=`dirname $0`
source $PROGDIR/parser-test-func.sh
THREAD=`echo $0 | sed -e 's/.*t\([0-9]\)\.sh/\1/g'`
exec_test $THREAD
#!/usr/bin/env bash
PROGDIR=`dirname $0`
source $PROGDIR/parser-test-func.sh
THREAD=`echo $0 | sed -e 's/.*t\([0-9]\)\.sh/\1/g'`
exec_test $THREAD
#!/usr/bin/env bash
PROGDIR=`dirname $0`
source $PROGDIR/parser-test-func.sh
THREAD=`echo $0 | sed -e 's/.*t\([0-9]\)\.sh/\1/g'`
exec_test $THREAD
#!/usr/bin/env bash
PROGDIR=`dirname $0`
source $PROGDIR/parser-test-func.sh
THREAD=`echo $0 | sed -e 's/.*t\([0-9]\)\.sh/\1/g'`
exec_test $THREAD
#!/usr/bin/env bash
PROGDIR=`dirname $0`
source $PROGDIR/parser-test-func.sh
THREAD=`echo $0 | sed -e 's/.*t\([0-9]\)\.sh/\1/g'`
exec_test $THREAD
#!/usr/bin/env bash
PROGDIR=`dirname $0`
source $PROGDIR/parser-test-func.sh
THREAD=`echo $0 | sed -e 's/.*t\([0-9]\)\.sh/\1/g'`
exec_test $THREAD
#!/usr/bin/env bash
PROGDIR=`dirname $0`
source $PROGDIR/parser-test-func.sh
THREAD=`echo $0 | sed -e 's/.*t\([0-9]\)\.sh/\1/g'`
exec_test $THREAD
#!/usr/bin/env bash
PROGDIR=`dirname $0`
source $PROGDIR/parser-test-func.sh
THREAD=`echo $0 | sed -e 's/.*t\([0-9]\)\.sh/\1/g'`
exec_test $THREAD
#!/usr/bin/env bash
PROGDIR=`dirname $0`
source $PROGDIR/parser-test-func.sh
THREAD=`echo $0 | sed -e 's/.*t\([0-9]\)\.sh/\1/g'`
exec_test $THREAD
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment