aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/uthash/uthash/run-ptest
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-support/uthash/uthash/run-ptest')
-rwxr-xr-xmeta-oe/recipes-support/uthash/uthash/run-ptest10
1 files changed, 10 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/uthash/uthash/run-ptest b/meta-oe/recipes-support/uthash/uthash/run-ptest
new file mode 100755
index 00000000000..14071a649ee
--- /dev/null
+++ b/meta-oe/recipes-support/uthash/uthash/run-ptest
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+cd tests
+for i in test*[0-9] ; do
+ if ./${i} | cmp -s "${i}.ans" - ; then
+ echo "PASS: ${i}"
+ else
+ echo "FAIL: ${i}"
+ fi
+done