summaryrefslogtreecommitdiff
path: root/cpp/tests/run-unit-tests
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/tests/run-unit-tests')
-rwxr-xr-xcpp/tests/run-unit-tests8
1 files changed, 7 insertions, 1 deletions
diff --git a/cpp/tests/run-unit-tests b/cpp/tests/run-unit-tests
index 48c502a734..0ab01f05c5 100755
--- a/cpp/tests/run-unit-tests
+++ b/cpp/tests/run-unit-tests
@@ -1,3 +1,9 @@
#!/bin/sh
-DllPlugInTester -c -b .libs/*.so
+. $srcdir/setup
+
+fail=0
+$vg DllPlugInTester -c -b $pwd/.libs/*.so 2> out || fail=1
+vg_check out || fail=1
+
+exit $fail