aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2020-10-10 16:33:28 +0300
committerCyrill Gorcunov <gorcunov@gmail.com>2020-10-10 16:33:28 +0300
commitb511da48c11e1625136038f5de86500f746d18d6 (patch)
treee34bd0a63addeeee58f7b42c59b929f9b39f0159
parent5d613ce88b4d32a394d788a52533e19a9c40ae94 (diff)
downloadnasm-b511da48c11e1625136038f5de86500f746d18d6.tar.gz
nasm-b511da48c11e1625136038f5de86500f746d18d6.tar.xz
nasm-b511da48c11e1625136038f5de86500f746d18d6.zip
travis: add nullfile
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
-rw-r--r--travis/test/nullfile.asm3
-rw-r--r--travis/test/nullfile.bin.t0
-rw-r--r--travis/test/nullfile.json12
3 files changed, 15 insertions, 0 deletions
diff --git a/travis/test/nullfile.asm b/travis/test/nullfile.asm
new file mode 100644
index 00000000..338d7101
--- /dev/null
+++ b/travis/test/nullfile.asm
@@ -0,0 +1,3 @@
+;
+; A file that produces no output has been known to occationally crash NASM.
+;
diff --git a/travis/test/nullfile.bin.t b/travis/test/nullfile.bin.t
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/travis/test/nullfile.bin.t
diff --git a/travis/test/nullfile.json b/travis/test/nullfile.json
new file mode 100644
index 00000000..47b95f6b
--- /dev/null
+++ b/travis/test/nullfile.json
@@ -0,0 +1,12 @@
+[
+ {
+ "description": "Test for nil output",
+ "id": "nullfile",
+ "format": "bin",
+ "source": "nullfile.asm",
+ "option": "-Ox",
+ "target": [
+ { "output": "nullfile.bin" }
+ ]
+ }
+]