summaryrefslogtreecommitdiff
path: root/test/integrations/anonymous_parsed/input.fdl
diff options
context:
space:
mode:
authorJosh Rahm <joshuarahm@gmail.com>2024-10-09 01:47:43 -0600
committerJosh Rahm <joshuarahm@gmail.com>2024-10-09 01:47:43 -0600
commit9832f887e1772e1c0f546371584be323ae440fb8 (patch)
treeb17ab95110ca45c673594db21ee2f73042163d1c /test/integrations/anonymous_parsed/input.fdl
parentbc404348ec9012eb08e08e29e8caf80dda73247f (diff)
downloadfiddle-9832f887e1772e1c0f546371584be323ae440fb8.tar.gz
fiddle-9832f887e1772e1c0f546371584be323ae440fb8.tar.bz2
fiddle-9832f887e1772e1c0f546371584be323ae440fb8.zip
Add system to spec for running integration shell scirpts.
The spec will recursively go through the test directories and look for `test.sh` files. If it finds one, it will run it. If the script returns 0, then the test passes, otherwise the test fails.
Diffstat (limited to 'test/integrations/anonymous_parsed/input.fdl')
-rw-r--r--test/integrations/anonymous_parsed/input.fdl11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/integrations/anonymous_parsed/input.fdl b/test/integrations/anonymous_parsed/input.fdl
new file mode 100644
index 0000000..316c631
--- /dev/null
+++ b/test/integrations/anonymous_parsed/input.fdl
@@ -0,0 +1,11 @@
+package fiddle.test {
+ type test_type : struct {
+ reg test_reg(32) : struct {
+ test_bits : enum (1) {
+ on = 0b1,
+ off = 0b0,
+ };
+ reserved(31);
+ };
+ };
+};