mirror of https://github.com/CGAL/cgal
When where are in a demo/ sub-directory, call cgal_test_with_cmake with "--no-run".
This commit is contained in:
parent
b888934721
commit
c97eaa2f0e
|
|
@ -1,6 +1,13 @@
|
|||
#!/bin/sh
|
||||
|
||||
dir=${PWD%/*}
|
||||
dir=${dir##*/}
|
||||
|
||||
if [ "x${dir}" == "xdemo" ]; then
|
||||
in_demo="--no-run"
|
||||
fi
|
||||
|
||||
# If there is already a cgal_test_with_cmake script in the current directory, execute it.
|
||||
[ ! -x cgal_test_with_cmake ] && echo "No cgal_test_with_cmake in current directory, creating it" && create_cgal_test_with_cmake
|
||||
[ ! -x cgal_test_with_cmake ] && echo "No cgal_test_with_cmake in current directory, creating it" && create_cgal_test_with_cmake ${in_demo}
|
||||
|
||||
./cgal_test_with_cmake $@
|
||||
|
|
|
|||
Loading…
Reference in New Issue