PageRenderTime 47ms CodeModel.GetById 14ms RepoModel.GetById 0ms app.codeStats 0ms

/buildtools/unit-test.sh

http://github.com/mozy/mordor
Shell | 12 lines | 8 code | 2 blank | 2 comment | 1 complexity | 688ac38c9e4d32a32e39ba6d4349ab16 MD5 | raw file
Possible License(s): BSD-3-Clause
  1. #!/bin/sh
  2. mkdir -p test-results
  3. rm -rf test-results/TEST-*.xml
  4. export TEST_ANTXML_DIRECTORY=test-results/
  5. #cmake builds generate binaries out-of-source
  6. if [ -e build/run_tests ] ; then
  7. build/run_tests $*
  8. else
  9. mordor/tests/run_tests $*
  10. fi