summaryrefslogtreecommitdiff
path: root/src/systemc
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2018-06-15 15:53:32 -0700
committerGabe Black <gabeblack@google.com>2018-08-22 00:59:49 +0000
commitb29a2d00b85f4c51b9abe6651a8145a0e1eb5484 (patch)
treea75705e57708e846516ab0739b1d5fa4657b6bc7 /src/systemc
parentd3abc7e7243406a6b9ac5632939a97882d75dcdf (diff)
downloadgem5-b29a2d00b85f4c51b9abe6651a8145a0e1eb5484.tar.xz
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>
Diffstat (limited to 'src/systemc')
-rw-r--r--src/systemc/tests/working.filt28
1 files changed, 28 insertions, 0 deletions
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"
+),
+
+])