diff options
author | Eric Anholt <eric@anholt.net> | 2006-09-01 12:25:22 -0700 |
---|---|---|
committer | Damien Lespiau <damien.lespiau@intel.com> | 2013-03-04 15:54:24 +0000 |
commit | 7c3ba4d49dc0f3e0629d3d2018591acebc0d954a (patch) | |
tree | c1a2576fd9158af3e8aedab798e76b5621ea26ad /assembler/test | |
parent | 960ca001cadb2824ecbb93a2dffacf198e61cece (diff) |
Add a test for ENDIF, revealing issues.
Diffstat (limited to 'assembler/test')
-rw-r--r-- | assembler/test/.gitignore | 1 | ||||
-rw-r--r-- | assembler/test/Makefile.am | 3 | ||||
-rw-r--r-- | assembler/test/endif.expected | 1 | ||||
-rw-r--r-- | assembler/test/endif.g4a | 1 |
4 files changed, 6 insertions, 0 deletions
diff --git a/assembler/test/.gitignore b/assembler/test/.gitignore index fae3c04d..68a959c3 100644 --- a/assembler/test/.gitignore +++ b/assembler/test/.gitignore @@ -14,4 +14,5 @@ iff while else wait +endif immediate diff --git a/assembler/test/Makefile.am b/assembler/test/Makefile.am index b70ba602..3045e96d 100644 --- a/assembler/test/Makefile.am +++ b/assembler/test/Makefile.am @@ -16,6 +16,7 @@ TESTS = \ while \ else \ wait \ + endif \ immediate # Tests that are expected to fail because they contain some inccorect code. @@ -53,6 +54,8 @@ TESTDATA = \ else.g4a \ wait.expected \ wait.g4a \ + endif.expected \ + endif.g4a \ immediate.g4a \ immediate.expected diff --git a/assembler/test/endif.expected b/assembler/test/endif.expected new file mode 100644 index 00000000..b8a3003b --- /dev/null +++ b/assembler/test/endif.expected @@ -0,0 +1 @@ + { 0x00000025, 0x00001c00, 0x00000000, 0x00010000 }, diff --git a/assembler/test/endif.g4a b/assembler/test/endif.g4a new file mode 100644 index 00000000..b3b09fab --- /dev/null +++ b/assembler/test/endif.g4a @@ -0,0 +1 @@ +endif; |