systemc: Add a filter file for the tests which are expected to work.
authorGabe Black <gabeblack@google.com>
Fri, 15 Jun 2018 22:53:32 +0000 (15:53 -0700)
committerGabe Black <gabeblack@google.com>
Wed, 22 Aug 2018 00:59:49 +0000 (00:59 +0000)
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 <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>

src/systemc/tests/working.filt [new file with mode: 0644]

diff --git a/src/systemc/tests/working.filt b/src/systemc/tests/working.filt
new file mode 100644 (file)
index 0000000..ff0dd17
--- /dev/null
@@ -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"
+),
+
+])