Files
dgl/tests/scripts/task_cpp_unit_test.sh
Jinjing Zhou 032a08cc32 [Test] Fix test script (#1257)
* fix script

* t

* fix weird bugs

* fix

* fix
2020-02-13 18:09:15 +08:00

12 lines
178 B
Bash

#!/bin/bash
function fail {
echo FAIL: $@
exit -1
}
echo $PWD
pushd build
ls -lh
export LD_LIBRARY_PATH=$PWD:$LD_LIBRARY_PATH
./runUnitTests || fail "CPP unit test"
popd