Because our test sid file contains EC, don't try it when configured no-ec
[openssl.git] / test / recipes / 90-test_external.t
index 49e2bd2005859337a3b7cd9080917677a6c8afcc..3bdc4afe67d14793c190f29dd74c68087dcb092d 100644 (file)
@@ -9,10 +9,13 @@
 
 use OpenSSL::Test;
 use OpenSSL::Test::Utils;
-use OpenSSL::Test qw/:DEFAULT srctop_file cmdstr/;
+use OpenSSL::Test qw/:DEFAULT bldtop_file srctop_file cmdstr/;
 
 setup("test_external");
 
+plan skip_all => "No external tests in this configuration"
+    if disabled("external-tests");
+
 if (!$ENV{BORING_RUNNER_DIR}) {
     plan skip_all => "No external tests have been detected";
 }
@@ -21,10 +24,10 @@ plan tests => 1;
 
 indir $ENV{BORING_RUNNER_DIR} => sub {
     ok(filter_run(cmd(["go", "test", "-shim-path",
-                      srctop_file("test", "ossl_shim", "ossl_shim"),
+                      bldtop_file("test", "ossl_shim", "ossl_shim"),
                       "-shim-config",
                       srctop_file("test", "ossl_shim", "ossl_config.json"),
-                      "-pipe"])),
+                      "-pipe", "-allow-unimplemented"])),
         "running external tests");
 }, create => 0, cleanup => 0;