Fix: actually run the param validation test
authorSimon Marchi <simon.marchi@efficios.com>
Fri, 11 Oct 2019 16:23:56 +0000 (12:23 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 17 Oct 2019 16:13:26 +0000 (12:13 -0400)
And fix the number of expected tests.

Change-Id: I4cd5cad27b3ae142d0c9a35b04c46241408677d3
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/2175
Reviewed-by: Francis Deslauriers <francis.deslauriers@efficios.com>
tests/Makefile.am
tests/param-validation/test_param_validation.c

index 11b932c8094a78426b9e490a35e697e88e9e8f1a..1550d22909e28fe08a81dc253566486ce93216f1 100644 (file)
@@ -142,6 +142,9 @@ if ENABLE_PYTHON_PLUGINS
 TESTS_PYTHON_PLUGIN_PROVIDER += python-plugin-provider/test_python_plugin_provider
 endif
 
+TESTS_PARAM_VALIDATION = \
+       param-validation/test_param_validation
+
 LOG_DRIVER_FLAGS = --merge --comments
 LOG_DRIVER = env AM_TAP_AWK='$(AWK)' \
             BT_TESTS_SRCDIR='$(abs_top_srcdir)/tests' \
@@ -159,6 +162,7 @@ TESTS_NO_BITFIELD = \
        $(TESTS_CLI) \
        $(TESTS_CTF_WRITER) \
        $(TESTS_LIB) \
+       $(TESTS_PARAM_VALIDATION) \
        $(TESTS_PLUGINS) \
        $(TESTS_PYTHON_PLUGIN_PROVIDER)
 
index 200b55140e5cf35e67d1e795c502d8d5cbde4fce..4940936597708107a381c3635c0b66de5fca9bf1 100644 (file)
@@ -340,7 +340,7 @@ void test_custom_validation_func_invalid(void)
 
 int main(void)
 {
-       plan_tests(34);
+       plan_tests(41);
 
        test_map_valid();
 
This page took 0.025005 seconds and 4 git commands to generate.