15 lines
488 B
Bash
15 lines
488 B
Bash
|
|
#!/bin/bash
|
||
|
|
|
||
|
|
# call make in current directory to get quick response on problems in last changes
|
||
|
|
# if successful, build TTY and run all tests
|
||
|
|
|
||
|
|
# for use with valgrind commandline parameter 1 is passed to TestRunner / Selftest
|
||
|
|
# provide either --valgrind or --valgrindlc (or nothing) depending on your needs
|
||
|
|
|
||
|
|
pushd . \
|
||
|
|
&& make \
|
||
|
|
&& cd ~/secondo/ && make TTY \
|
||
|
|
&& cd ~/secondo/bin/ && TestRunner $1 -i ~/secondo/Algebras/Spatial3D/Spatial3D.test \
|
||
|
|
&& Selftest $1 tmp/Spatial3D.examples
|
||
|
|
popd
|