diff options
author | Eric Anholt <eric@anholt.net> | 2006-09-01 12:11:24 -0700 |
---|---|---|
committer | Damien Lespiau <damien.lespiau@intel.com> | 2013-03-04 15:54:24 +0000 |
commit | a8eb735270722182a4a9152604d40b9be5733853 (patch) | |
tree | 9eb3875987ab3fd49c202d09389763dd4430471b /assembler/test | |
parent | 1f58efa747e8cfedc3f4277bc0409ac3c348f6df (diff) |
Add a test for the ELSE instruction, 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/else.expected | 1 | ||||
-rw-r--r-- | assembler/test/else.g4a | 1 |
4 files changed, 6 insertions, 0 deletions
diff --git a/assembler/test/.gitignore b/assembler/test/.gitignore index cc9661c9..fae3c04d 100644 --- a/assembler/test/.gitignore +++ b/assembler/test/.gitignore @@ -12,5 +12,6 @@ jmpi if iff while +else wait immediate diff --git a/assembler/test/Makefile.am b/assembler/test/Makefile.am index fb7d94fa..b70ba602 100644 --- a/assembler/test/Makefile.am +++ b/assembler/test/Makefile.am @@ -14,6 +14,7 @@ TESTS = \ if \ iff \ while \ + else \ wait \ immediate @@ -48,6 +49,8 @@ TESTDATA = \ iff.g4a \ while.expected \ while.g4a \ + else.expected \ + else.g4a \ wait.expected \ wait.g4a \ immediate.g4a \ diff --git a/assembler/test/else.expected b/assembler/test/else.expected new file mode 100644 index 00000000..bdc77e40 --- /dev/null +++ b/assembler/test/else.expected @@ -0,0 +1 @@ + { 0x00000024, 0x34001c00, 0x00011400, 0x00010002 }, diff --git a/assembler/test/else.g4a b/assembler/test/else.g4a new file mode 100644 index 00000000..f4103800 --- /dev/null +++ b/assembler/test/else.g4a @@ -0,0 +1 @@ +else 2; |