[nasm:master] travis: add time
nasm-bot for Cyrill Gorcunov
gorcunov at gmail.com
Sun Oct 11 03:06:11 PDT 2020
Commit-ID: 31ad91346b9ee983f361761575d5b29693532fda
Gitweb: http://repo.or.cz/w/nasm.git?a=commitdiff;h=31ad91346b9ee983f361761575d5b29693532fda
Author: Cyrill Gorcunov <gorcunov at gmail.com>
AuthorDate: Sun, 11 Oct 2020 12:57:08 +0300
Committer: Cyrill Gorcunov <gorcunov at gmail.com>
CommitDate: Sun, 11 Oct 2020 12:57:08 +0300
travis: add time
Signed-off-by: Cyrill Gorcunov <gorcunov at gmail.com>
---
{test => travis/test}/time.asm | 7 ++++++-
travis/test/time.json | 13 +++++++++++++
2 files changed, 19 insertions(+), 1 deletion(-)
diff --git a/test/time.asm b/travis/test/time.asm
similarity index 57%
copy from test/time.asm
copy to travis/test/time.asm
index ee4b9b76..63ea32c8 100644
--- a/test/time.asm
+++ b/travis/test/time.asm
@@ -1,8 +1,13 @@
-;Not automatically testable because it is not constant
+; Not automatically testable because it is not constant
+;
+; FIXME: Need to adjust code and all this macros for
+; --reproducible NASM option.
+;
db __DATE__, 13, 10
db __TIME__, 13, 10
db __UTC_DATE__, 13, 10
db __UTC_TIME__, 13, 10
+
align 4
dd __DATE_NUM__
dd __TIME_NUM__
diff --git a/travis/test/time.json b/travis/test/time.json
new file mode 100644
index 00000000..a18d2cde
--- /dev/null
+++ b/travis/test/time.json
@@ -0,0 +1,13 @@
+[
+ {
+ "description": "Test time macros",
+ "id": "time",
+ "format": "bin",
+ "source": "time.asm",
+ "option": "-Ox",
+ "target": [
+ { "output": "time.bin" }
+ ],
+ "disable": "true"
+ }
+]
More information about the Nasm-commits
mailing list