Introduce common generic header file
[librseq.git] / tests / run_param_test.tap
index cd1e6e2eeba8c469422471904563c207545ba584..ad6fbff518fd539d90d7c2f67a17bb183517252f 100755 (executable)
@@ -32,6 +32,18 @@ function do_test()
 
        "$RSEQ_TESTS_BUILDDIR"/param_test_compare_twice "${args[@]}" -r ${REPS} -t ${NR_THREADS} "${EXTRA_ARGS[@]}"
        ok $? "Running compare-twice test ${test_name}"
+
+       "$RSEQ_TESTS_BUILDDIR"/param_test_mm_cid "${args[@]}" -r ${REPS} -t ${NR_THREADS} "${EXTRA_ARGS[@]}"
+       res=$?
+       skip $(($res != 2 )) "Running mm_cid test ${test_name}" 1 || {
+               ok $res "Running mm_cid test ${test_name}"
+       }
+
+       "$RSEQ_TESTS_BUILDDIR"/param_test_mm_cid_compare_twice "${args[@]}" -r ${REPS} -t ${NR_THREADS} "${EXTRA_ARGS[@]}"
+       res=$?
+       skip $(($res != 2)) "Running compare-twice mm_cid test ${test_name}" 1 || {
+               ok $res "Running compare-twice mm_cid test ${test_name}"
+       }
 }
 
 function do_tests()
@@ -77,7 +89,7 @@ function do_tests_inject()
 if [[ $? == 2 ]]; then
        plan_skip_all "The rseq syscall is unavailable"
 else
-       plan_tests $(( 2 * 8 * 37 ))
+       plan_tests $(( 4 * 8 * 37 ))
 fi
 
 diag "Default parameters"
This page took 0.021936 seconds and 4 git commands to generate.