Reimplementing DPOR Phase 1: First trace execution, cycle detection, R/W field access...
[jpf-core.git] / main.jpf
index 0842997ff83148cb1d0898b4ad1930d7a8e6a6ab..0665ff278cd59fec861036dfed8e300fbe2cb4b1 100644 (file)
--- a/main.jpf
+++ b/main.jpf
@@ -6,13 +6,17 @@ target = main
 #listener=gov.nasa.jpf.listener.StateReducerOld
 #listener=gov.nasa.jpf.listener.VariableConflictTracker,gov.nasa.jpf.listener.StateReducer
 #listener=gov.nasa.jpf.listener.ConflictTracker,gov.nasa.jpf.listener.StateReducer
-listener=gov.nasa.jpf.listener.ConflictTracker
+##listener=gov.nasa.jpf.listener.ConflictTrackerOld,gov.nasa.jpf.listener.StateReducer
+##listener=gov.nasa.jpf.listener.ConflictTrackerOld,gov.nasa.jpf.listener.DPORStateReducer
+##listener=gov.nasa.jpf.listener.ConflictTrackerOld
+listener=gov.nasa.jpf.listener.DPORStateReducer
 
 # Potentially conflicting variables
 # Alarms
 #variables=currentAlarm
 # Locks
-#variables=currentLock
+#variables=lock
+variables=currentLock
 # Thermostats
 #variables=currentHeatingSetpoint,thermostatSetpoint,currentCoolingSetpoint,thermostatOperatingState,thermostatFanMode,currentThermostatMode
 # Switches
@@ -20,7 +24,7 @@ listener=gov.nasa.jpf.listener.ConflictTracker
 # Lights
 #variables=colorChanged,currentHue,currentSaturation,currentLevel,currentSwitch,colorTemperature
 # Dimmers
-variables=currentSwitch,currentLevel
+#variables=currentSwitch,currentLevel
 # Speeches
 #variables=level,oneUser
 # Music players
@@ -37,11 +41,12 @@ variables=currentSwitch,currentLevel
 # Potentially conflicting apps (we default to App1 and App2 for now)
 apps=App1,App2
 
-# Tracking the location.mode variable conflict
-#track_location_var_conflict=true
+# Debug mode for ConflictTracker
+# We do not report any conflicts if the value is true
+#debug_mode=true
 
 # Debug mode for StateReducer
-#debug_state_transition=true
+printout_state_transition=true
 #activate_state_reduction=true
 
 # Timeout in minutes (default is 0 which means no timeout)