summaryrefslogtreecommitdiff
path: root/tests/slow
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2015-09-19 12:37:51 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2015-09-21 18:51:37 +0200
commit2d4d9ec52dc6c14887cfe411a3a44e3eea153f56 (patch)
treed1dee111447378953ea4b8cf82262cdbb48a8a39 /tests/slow
parentbf2abe76dfec1ec8e4ae3c6e9c249e099bfebe1b (diff)
downloadgnutls-2d4d9ec52dc6c14887cfe411a3a44e3eea153f56.tar.gz
tests: disable cipher-test on windows platform; they don't seem to work
Diffstat (limited to 'tests/slow')
-rw-r--r--tests/slow/cipher-test.c9
-rw-r--r--tests/slow/mac-override.c2
2 files changed, 10 insertions, 1 deletions
diff --git a/tests/slow/cipher-test.c b/tests/slow/cipher-test.c
index 20c43fc58c..e58cb3562c 100644
--- a/tests/slow/cipher-test.c
+++ b/tests/slow/cipher-test.c
@@ -14,6 +14,13 @@
* cpu instructions (AES-NI or padlock).
*/
+#if defined(WIN32)
+int main(int argc, char **argv)
+{
+ exit(77);
+}
+#else
+
static void handle_sigill(int sig)
{
exit(0);
@@ -58,3 +65,5 @@ int main(int argc, char **argv)
gnutls_global_deinit();
return 0;
}
+
+#endif
diff --git a/tests/slow/mac-override.c b/tests/slow/mac-override.c
index a20d05263d..a2917bd946 100644
--- a/tests/slow/mac-override.c
+++ b/tests/slow/mac-override.c
@@ -8,7 +8,7 @@
#include <gnutls/crypto.h>
#include <gnutls/self-test.h>
-#ifndef HAVE_LIBNETTLE
+#if !defined(HAVE_LIBNETTLE) || defined(WIN32)
int main(int argc, char **argv)
{
exit(77);