From daff45cf3ca3d3c9ba1f285bf8d81862046f6229 Mon Sep 17 00:00:00 2001 From: Cyrill Gorcunov Date: Sat, 3 Nov 2018 18:23:13 +0300 Subject: [PATCH] test: nasm-t -- Add xcrypt test Signed-off-by: Cyrill Gorcunov --- travis/test/xcrypt.asm | 24 ++++++++++++++++++++++++ travis/test/xcrypt.bin.t | 1 + travis/test/xcrypt.json | 11 +++++++++++ 3 files changed, 36 insertions(+) create mode 100644 travis/test/xcrypt.asm create mode 100644 travis/test/xcrypt.bin.t create mode 100644 travis/test/xcrypt.json diff --git a/travis/test/xcrypt.asm b/travis/test/xcrypt.asm new file mode 100644 index 000000000..55a3f5de3 --- /dev/null +++ b/travis/test/xcrypt.asm @@ -0,0 +1,24 @@ +;Testname=test; Arguments=-fbin -oxcrypt.bin; Files=stdout stderr xcrypt.bin +; BR 2029829 + + bits 32 + + rep xstore + rep xcryptecb + rep xcryptcbc + rep xcryptctr + rep xcryptcfb + rep xcryptofb + rep montmul + rep xsha1 + rep xsha256 + + xstore + xcryptecb + xcryptcbc + xcryptctr + xcryptcfb + xcryptofb + montmul + xsha1 + xsha256 diff --git a/travis/test/xcrypt.bin.t b/travis/test/xcrypt.bin.t new file mode 100644 index 000000000..60c465111 --- /dev/null +++ b/travis/test/xcrypt.bin.t @@ -0,0 +1 @@ +ó§Àó§Èó§Ðó§Øó§àó§èó¦Àó¦Èó¦Ð§Àó§Èó§Ðó§Øó§àó§èó¦Àó¦Èó¦Ð \ No newline at end of file diff --git a/travis/test/xcrypt.json b/travis/test/xcrypt.json new file mode 100644 index 000000000..cf1b90c0d --- /dev/null +++ b/travis/test/xcrypt.json @@ -0,0 +1,11 @@ +[ + { + "description": "Test XCRYPT instructions", + "id": "xcrypt", + "format": "bin", + "source": "xcrypt.asm", + "target": [ + { "output": "xcrypt.bin" } + ] + } +]