-c sfavoid allows to test with flavour=void
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Tue, 22 May 2012 14:38:46 +0000 (16:38 +0200)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Tue, 22 May 2012 14:38:46 +0000 (16:38 +0200)
system/config_sfavoid.py [new file with mode: 0644]

diff --git a/system/config_sfavoid.py b/system/config_sfavoid.py
new file mode 100644 (file)
index 0000000..90b7fb5
--- /dev/null
@@ -0,0 +1,12 @@
+# Thierry Parmentelat <thierry.parmentelat@inria.fr>
+# Copyright (C) 2012 INRIA 
+#
+# this config is defined to run on top of another one 
+# and just sets the generic flavour to 'void'
+
+def config (plc_specs, options):
+    def tweak_loglevel (plc_spec):
+        plc_spec['sfa']['SFA_GENERIC_FLAVOUR'] = 'void'
+        plc_spec['sfa']['SFA_AGGREGATE_ENABLED'] = 'false'
+        return plc_spec
+    return [ tweak_loglevel (plc_spec) for plc_spec in plc_specs ]