Commit 8194d1f9 authored by Steffen Michels's avatar Steffen Michels
Browse files

Merge branch '48-gast-test-scripts-still-use-test0-prj' into 'master'

Resolve "Gast test scripts still use test0.prj"

Closes #48

See merge request !78
parents 9f92e1f0 e7a6f613
Pipeline #51392 passed with stage
in 16 minutes and 39 seconds
set -e
# Set up
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
tail -n +3 test/clean/etc/Gast.env >> test/clean/etc/IDEEnvs
cp -r src/gast-master/Libraries/ test/Libraries/
cp -r src/gast-master/Tests/ test/Tests/
# 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
)
set -e
# Set up
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
tail -n +3 test/clean/etc/Gast.env >> test/clean/etc/IDEEnvs
cp -r src/gast-master/Libraries/ test/Libraries/
cp -r src/gast-master/Tests/ test/Tests/
# 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
)
set -e
# Set up
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
tail -n +3 test/clean/etc/Gast.env >> test/clean/etc/IDEEnvs
cp -r src/gast-master/Libraries/ test/Libraries/
cp -r src/gast-master/Tests/ test/Tests/
# Compile and run
(cd "test"
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
)
set -e
# Set up
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
tail -n +3 test/clean/etc/Gast.env >> test/clean/etc/IDEEnvs
cp -r src/gast-master/Libraries/ test/Libraries/
cp -r src/gast-master/Tests/ test/Tests/
# 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
)
set -e
# Set up
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
tail -n +3 test/clean/Config/Gast.env >> test/clean/Config/IDEEnvs
cp -r src/gast-master/Libraries/ test/Libraries/
cp -r src/gast-master/Tests/ test/Tests/
# 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 clean`
export PATH=$CLEAN_HOME\\Tools:$CLEAN_HOME:$PATH
echo $CLEAN_HOME
# Execute unit tests
./test0.exe
)
make -C Tests test
)
set -e
# Set up
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
tail -n +3 test/clean/Config/Gast.env >> test/clean/Config/IDEEnvs
cp -r src/gast-master/Libraries/ test/Libraries/
cp -r src/gast-master/Tests/ test/Tests/
# 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 clean`
export PATH=$CLEAN_HOME\\Tools:$CLEAN_HOME:$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