aboutsummaryrefslogtreecommitdiffstats
path: root/travis/test
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2020-08-18 21:05:56 +0300
committerCyrill Gorcunov <gorcunov@gmail.com>2020-08-18 21:05:56 +0300
commit51e23ac72a7b249c0b1f8934b090bb86d823e962 (patch)
tree2b1eec61c464c540401b0aa05c189122a6d7f6b6 /travis/test
parentf14552e5fb480b35bb25fe32e1cec935df4acaae (diff)
downloadnasm-51e23ac72a7b249c0b1f8934b090bb86d823e962.tar.gz
nasm-51e23ac72a7b249c0b1f8934b090bb86d823e962.tar.xz
nasm-51e23ac72a7b249c0b1f8934b090bb86d823e962.zip
travis: add br3392643 test
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Diffstat (limited to 'travis/test')
-rw-r--r--travis/test/br3392643.asm4
-rw-r--r--travis/test/br3392643.json13
-rw-r--r--travis/test/br3392643.obj.tbin0 -> 349 bytes
-rw-r--r--travis/test/br3392643.stderr1
4 files changed, 18 insertions, 0 deletions
diff --git a/travis/test/br3392643.asm b/travis/test/br3392643.asm
new file mode 100644
index 00000000..a57ae29a
--- /dev/null
+++ b/travis/test/br3392643.asm
@@ -0,0 +1,4 @@
+;
+; Test long section name to be trimmed down to RECORD_MAX
+;
+section .name0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
diff --git a/travis/test/br3392643.json b/travis/test/br3392643.json
new file mode 100644
index 00000000..6442cc02
--- /dev/null
+++ b/travis/test/br3392643.json
@@ -0,0 +1,13 @@
+[
+ {
+ "description": "Test br3392643 (name limit in OBJ files)",
+ "id": "br3392643",
+ "format": "obj",
+ "source": "br3392643.asm",
+ "option": "-Ox",
+ "target": [
+ { "output": "br3392643.obj" },
+ { "stderr": "br3392643.stderr" }
+ ]
+ }
+]
diff --git a/travis/test/br3392643.obj.t b/travis/test/br3392643.obj.t
new file mode 100644
index 00000000..de1dafbb
--- /dev/null
+++ b/travis/test/br3392643.obj.t
Binary files differ
diff --git a/travis/test/br3392643.stderr b/travis/test/br3392643.stderr
new file mode 100644
index 00000000..d8ce619a
--- /dev/null
+++ b/travis/test/br3392643.stderr
@@ -0,0 +1 @@
+./travis/test/br3392643.asm: warning: cutting object name 'name0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789...' to 255 bytes [-w+other] \ No newline at end of file