From b29a2d00b85f4c51b9abe6651a8145a0e1eb5484 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Fri, 15 Jun 2018 15:53:32 -0700 Subject: [PATCH] systemc: Add a filter file for the tests which are expected to work. Not all of the tests this filter accepts actually work, but we haven't yet explicitly decided not to try to make them tests work yet. Recording this in a file makes test runs more repeateable, and creates a place to record why certain tests or groups of tests are being excluded. Change-Id: I91d44b6500a3e8ff5d5808222ce03f138374cf8b Reviewed-on: https://gem5-review.googlesource.com/11258 Reviewed-by: Gabe Black Maintainer: Gabe Black --- src/systemc/tests/working.filt | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 src/systemc/tests/working.filt diff --git a/src/systemc/tests/working.filt b/src/systemc/tests/working.filt new file mode 100644 index 000000000..ff0dd17ce --- /dev/null +++ b/src/systemc/tests/working.filt @@ -0,0 +1,28 @@ +not any([ + +# The sc_elab_and_sim mechanism is purposefully not supported. +name == "sc_elab_and_sim", + +# The wif trace format is deprecated, and probably would take a non-trivial +# amount of work to support. +path.startswith("systemc/tracing/wif_trace"), +path.startswith("systemc/misc/stars/wif_trace"), + +# These tests refers to sc_get_current_process_b which is a deprecated type and +# something we're not currently planning to support. +path.startswith("systemc/kernel/sc_process_b"), + + +path in ( + # Uses sc_get_curr_simcontext. + "systemc/kernel/sc_object_manager/test01", + "systemc/kernel/sc_name_gen/test1", + + # Uses sc_elab_and_sim. + "systemc/kernel/sc_main_main", + + # Tests the deprecated sc_string type which we aren't supporting. + "systemc/bugs/sc_string_bracket_assign" +), + +]) -- 2.30.2