aboutsummaryrefslogtreecommitdiffstats
path: root/travis/test
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2018-11-11 17:07:23 +0300
committerCyrill Gorcunov <gorcunov@gmail.com>2018-11-11 21:43:46 +0300
commit7c37fae21d27d43a5b9f6c2bcdcf70843d638713 (patch)
tree42034f05043f749d5123426bd1b2215f31a427fd /travis/test
parent6ad457d6f82ac3f58afdcfcd6bc2c48f5d7be2fd (diff)
downloadnasm-7c37fae21d27d43a5b9f6c2bcdcf70843d638713.tar.gz
nasm-7c37fae21d27d43a5b9f6c2bcdcf70843d638713.tar.xz
nasm-7c37fae21d27d43a5b9f6c2bcdcf70843d638713.zip
test: nasm-t -- Add br890790
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Diffstat (limited to 'travis/test')
-rw-r--r--travis/test/br890790.asm6
-rw-r--r--travis/test/br890790.bin.tbin0 -> 11 bytes
-rw-r--r--travis/test/br890790.json12
-rw-r--r--travis/test/br890790_i.asm1
4 files changed, 19 insertions, 0 deletions
diff --git a/travis/test/br890790.asm b/travis/test/br890790.asm
new file mode 100644
index 00000000..c0f95f73
--- /dev/null
+++ b/travis/test/br890790.asm
@@ -0,0 +1,6 @@
+%rep 5
+ db 0
+ %include "br890790_i.asm"
+%endrep
+
+db 1
diff --git a/travis/test/br890790.bin.t b/travis/test/br890790.bin.t
new file mode 100644
index 00000000..66ef4986
--- /dev/null
+++ b/travis/test/br890790.bin.t
Binary files differ
diff --git a/travis/test/br890790.json b/travis/test/br890790.json
new file mode 100644
index 00000000..c4388265
--- /dev/null
+++ b/travis/test/br890790.json
@@ -0,0 +1,12 @@
+[
+ {
+ "description": "Test inclusion inside rep directive",
+ "id": "br890790",
+ "format": "bin",
+ "source": "br890790.asm",
+ "option": "-Ox -I./travis/test/",
+ "target": [
+ { "output": "br890790.bin" }
+ ]
+ }
+]
diff --git a/travis/test/br890790_i.asm b/travis/test/br890790_i.asm
new file mode 100644
index 00000000..7ff797f3
--- /dev/null
+++ b/travis/test/br890790_i.asm
@@ -0,0 +1 @@
+db 2