Commit eb6678e5 authored by Mikaël Salson's avatar Mikaël Salson

algo/tests/should-get-tests: avoid temporary files if not required

out/ directory may not exist, leading to errors.
In that case we can do without temporary files.
parent 1a7bb7f8
Pipeline #15552 passed with stages
in 22 seconds
!NO_LAUNCHER:
!LAUNCH: (cd $VIDJIL_DIR ; grep './$EXEC ' doc/algo.org > out/doc-examples.sh ; sh out/doc-examples.sh)
!LAUNCH: (cd $VIDJIL_DIR ; grep './$EXEC ' doc/algo.org | sh)
# Test examples embedded in 'doc/algo.org'
......
!NO_LAUNCHER:
!LAUNCH: (cd $VIDJIL_DIR ; ./$EXEC -h 2> out/vidjil-h.txt ; grep '$EXEC -c' out/vidjil-h.txt > out/vidjil-h.sh ; sh out/vidjil-h.sh)
!LAUNCH: (cd $VIDJIL_DIR ; ./$EXEC -h 2>&1 > /dev/null | grep '$EXEC -c' | sh)
# Test examples embedded in './vidjil-algo -h'
......
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