Commit-ID: 218ba6bc9e16bff9ed9d84884c4f390c8ff731c9
Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=218ba6bc9e16bff9ed9d84884c4f390c8ff731c9
Author: Cyrill Gorcunov <gor...@gm...>
AuthorDate: Sun, 4 Nov 2018 15:22:14 +0300
Committer: Cyrill Gorcunov <gor...@gm...>
CommitDate: Sun, 11 Nov 2018 21:43:45 +0300
test: nasm-t -- Add binexe test
Signed-off-by: Cyrill Gorcunov <gor...@gm...>
---
{test => travis/test}/binexe.asm | 3 ---
travis/test/binexe.exe.t | Bin 0 -> 63 bytes
travis/test/binexe.json | 17 +++++++++++++++++
3 files changed, 17 insertions(+), 3 deletions(-)
diff --git a/test/binexe.asm b/travis/test/binexe.asm
similarity index 74%
copy from test/binexe.asm
copy to travis/test/binexe.asm
index 2a9eb6e..ab852fb 100644
--- a/test/binexe.asm
+++ b/travis/test/binexe.asm
@@ -1,6 +1,3 @@
-;Testname=unoptimized; Arguments=-O0 -fbin -obinexe.exe -i../misc/; Files=stdout stderr binexe.exe
-;Testname=optimized; Arguments=-Ox -fbin -obinexe.exe -i../misc/; Files=stdout stderr binexe.exe
-
; Demonstration of how to write an entire .EXE format program by using
; the `exebin.mac' macro package.
; To build:
diff --git a/travis/test/binexe.exe.t b/travis/test/binexe.exe.t
new file mode 100644
index 0000000..f693142
Binary files /dev/null and b/travis/test/binexe.exe.t differ
diff --git a/travis/test/binexe.json b/travis/test/binexe.json
new file mode 100644
index 0000000..763b7a0
--- /dev/null
+++ b/travis/test/binexe.json
@@ -0,0 +1,17 @@
+[
+ {
+ "description": "Test for exebin.mac macros (-Ox)",
+ "id": "binexe",
+ "format": "bin",
+ "source": "binexe.asm",
+ "option": "-Ox -i./misc/",
+ "target": [
+ { "output": "binexe.exe" }
+ ]
+ },
+ {
+ "description": "Test for exebin.mac macros (-O0)",
+ "ref": "binexe",
+ "option": "-O0 -i./misc/"
+ }
+]
|