Commit e66bbec6 authored by Erin van der Veen's avatar Erin van der Veen
Browse files

Use make test in gast tests

parent 9f92e1f0
Pipeline #51203 failed with stage
in 11 minutes and 17 seconds
......@@ -4,18 +4,14 @@ mkdir -p "test/clean"
mkdir -p "test/tests"
cp -r build/clean/* test/clean/
cp -r target/clean-lib-gast/* test/clean/
cp -r src/gast-master/Tests/* test/tests
cp -r src/gast-master/Tests/* test/tests/
tail -n +3 test/clean/etc/Gast.env >> test/clean/etc/IDEEnvs
# Compile and run
(cd "test"
export CLEAN_HOME=`pwd`/clean
export PATH=$CLEAN_HOME/bin:$PATH
echo $CLEAN_HOME
export CLEAN_HOME=`pwd`/clean
export PATH=$CLEAN_HOME/bin:$PATH
echo $CLEAN_HOME
# Compile unit tests
cp tests/test0.prj.default tests/test0.prj
cpm tests/test0.prj
# Execute unit tests
./tests/test0.exe
make -C tests test
)
......@@ -4,18 +4,14 @@ mkdir -p "test/clean"
mkdir -p "test/tests"
cp -r build/clean/* test/clean/
cp -r target/clean-lib-gast/* test/clean/
cp -r src/gast-master/Tests/* test/tests
cp -r src/gast-master/Tests/* test/tests/
tail -n +3 test/clean/etc/Gast.env >> test/clean/etc/IDEEnvs
# Compile and run
(cd "test"
export CLEAN_HOME=`pwd`/clean
export PATH=$CLEAN_HOME/bin:$PATH
echo $CLEAN_HOME
export CLEAN_HOME=`pwd`/clean
export PATH=$CLEAN_HOME/bin:$PATH
echo $CLEAN_HOME
# Compile unit tests
cp tests/test0.prj.default tests/test0.prj
cpm tests/test0.prj
# Execute unit tests
./tests/test0.exe
make -C tests test
)
......@@ -4,7 +4,7 @@ mkdir -p "test/clean"
mkdir -p "test/tests"
cp -r build/clean/* test/clean/
cp -r target/clean-lib-gast/* test/clean/
cp -r src/gast-master/Tests/* test/tests
cp -r src/gast-master/Tests/* test/tests/
tail -n +3 test/clean/etc/Gast.env >> test/clean/etc/IDEEnvs
# Compile and run
......@@ -12,10 +12,6 @@ tail -n +3 test/clean/etc/Gast.env >> test/clean/etc/IDEEnvs
export CLEAN_HOME=`pwd`/clean
export PATH=$CLEAN_HOME/bin:$PATH
echo $CLEAN_HOME
# Compile unit tests
cp tests/test0.prj.default tests/test0.prj
cpm tests/test0.prj
# Execute unit tests
./tests/test0.exe
make -C tests test
)
......@@ -4,18 +4,14 @@ mkdir -p "test/clean"
mkdir -p "test/tests"
cp -r build/clean/* test/clean/
cp -r target/clean-lib-gast/* test/clean/
cp -r src/gast-master/Tests/* test/tests
cp -r src/gast-master/Tests/* test/tests/
tail -n +3 test/clean/etc/Gast.env >> test/clean/etc/IDEEnvs
# Compile and run
(cd "test"
export CLEAN_HOME=`pwd`/clean
export PATH=$CLEAN_HOME/bin:$PATH
echo $CLEAN_HOME
export CLEAN_HOME=`pwd`/clean
export PATH=$CLEAN_HOME/bin:$PATH
echo $CLEAN_HOME
# Compile unit tests
cp tests/test0.prj.default tests/test0.prj
cpm tests/test0.prj
# Execute unit tests
./tests/test0.exe
make -C tests test
)
......@@ -4,19 +4,14 @@ mkdir -p "test/clean"
mkdir -p "test/tests"
cp -r build/clean/* test/clean/
cp -r target/clean-lib-gast/* test/clean/
cp -r src/gast-master/Tests/* test/tests
cp -r src/gast-master/Tests/* test/tests/
tail -n +3 test/clean/Config/Gast.env >> test/clean/Config/IDEEnvs
# Compile and run
export CLEAN_HOME=`cygpath --windows --absolute test/clean`
export PATH=$CLEAN_HOME\\Tools:$PATH
(cd "test"
# Compile unit tests
(cd "tests"
sed s/StdEnv/Gast/ < test0.prj.default > test0.prj
../clean/cpm.exe test0.prj
export CLEAN_HOME=`cygpath --windows --absolute test/clean`
export PATH=$CLEAN_HOME\\Tools:$PATH
echo $CLEAN_HOME
# Execute unit tests
./test0.exe
)
make -C tests test
)
......@@ -4,19 +4,14 @@ mkdir -p "test/clean"
mkdir -p "test/tests"
cp -r build/clean/* test/clean/
cp -r target/clean-lib-gast/* test/clean/
cp -r src/gast-master/Tests/* test/tests
cp -r src/gast-master/Tests/* test/tests/
tail -n +3 test/clean/Config/Gast.env >> test/clean/Config/IDEEnvs
# Compile and run
export CLEAN_HOME=`cygpath --windows --absolute test/clean`
export PATH=$CLEAN_HOME\\Tools:$PATH
(cd "test"
# Compile unit tests
(cd "tests"
sed s/StdEnv/Gast/ < test0.prj.default > test0.prj
../clean/cpm.exe test0.prj
export CLEAN_HOME=`cygpath --windows --absolute test/clean`
export PATH=$CLEAN_HOME\\Tools:$PATH
echo $CLEAN_HOME
# Execute unit tests
./test0.exe
)
make -C tests test
)
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