diff options
author | Brian Maher <maherb@brimworks.com> | 2010-01-30 21:17:41 -0800 |
---|---|---|
committer | Brian Maher <maherb@brimworks.com> | 2010-01-30 21:17:41 -0800 |
commit | b0eeb6cb0c4aeb6009b9eaa03fc599513f9a4268 (patch) | |
tree | a6b7407f1c57c84a465e8012f99a7f75b3372408 /test | |
parent | 87660482d0a28824afbe20868feb85b5ac550b30 (diff) | |
download | yajl-b0eeb6cb0c4aeb6009b9eaa03fc599513f9a4268.tar.gz |
Mark project as 'C' project so C++ compiler is not required to be
installed. Also, on Ubuntu, when I explicitly set the build output
directory, the tests don't run because the run_tests.sh script assumes
that ../build is where the build output directory is.
Diffstat (limited to 'test')
-rwxr-xr-x | test/run_tests.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/run_tests.sh b/test/run_tests.sh index 174932f..f5063ed 100755 --- a/test/run_tests.sh +++ b/test/run_tests.sh @@ -5,6 +5,10 @@ if [[ `uname` == *W32* ]] ; then DIFF_FLAGS="-wu" fi +if [ -z "$testBin" ]; then + testBin="$1" +fi + # find test binary on both platforms. allow the caller to force a # particular test binary (useful for non-cmake build systems). if [ -z "$testBin" ]; then |