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

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
!LAUNCH: (cd $VIDJIL_DIR ; grep './$EXEC ' doc/ > out/ ; sh out/
!LAUNCH: (cd $VIDJIL_DIR ; grep './$EXEC ' doc/ | sh)
# Test examples embedded in 'doc/'
!LAUNCH: (cd $VIDJIL_DIR ; ./$EXEC -h 2> out/vidjil-h.txt ; grep '$EXEC -c' out/vidjil-h.txt > out/ ; sh out/
!LAUNCH: (cd $VIDJIL_DIR ; ./$EXEC -h 2>&1 > /dev/null | grep '$EXEC -c' | sh)
# Test examples embedded in './vidjil-algo -h'
Supports Markdown
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