From: Gabe Black Date: Fri, 15 Jun 2018 22:53:32 +0000 (-0700) Subject: systemc: Add a filter file for the tests which are expected to work. X-Git-Tag: v19.0.0.0~1915 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b29a2d00b85f4c51b9abe6651a8145a0e1eb5484;p=gem5.git 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 --- 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" +), + +])