summaryrefslogtreecommitdiffstats
path: root/test/uscxml/promela/test-progress-label.scxml
diff options
context:
space:
mode:
Diffstat (limited to 'test/uscxml/promela/test-progress-label.scxml')
-rw-r--r--test/uscxml/promela/test-progress-label.scxml20
1 files changed, 20 insertions, 0 deletions
diff --git a/test/uscxml/promela/test-progress-label.scxml b/test/uscxml/promela/test-progress-label.scxml
new file mode 100644
index 0000000..8e27345
--- /dev/null
+++ b/test/uscxml/promela/test-progress-label.scxml
@@ -0,0 +1,20 @@
+<!--
+
+ Check for no-progress cycles
+
+ $ uscxml-transform -s -i this_file.scxml > test.pml
+ $ spin -a test.pml
+ $ gcc -DNP pan.c
+ $ ./a.out -l
+
+-->
+<scxml datamodel="promela">
+ <state id="s0">
+ <onentry>
+ <!-- promela-progress -->
+ <raise event="foo" />
+ </onentry>
+ <transition event="foo" target="s0" />
+ </state>
+ <state id="s1" final="true" />
+</scxml> \ No newline at end of file