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 <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
diff --git a/src/systemc/tests/working.filt b/src/systemc/tests/working.filt
new file mode 100644
index 0000000..ff0dd17
--- /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"
+),
+
+])