Run BoringSSL tests on Travis
[openssl.git] / test / recipes / 90-test_external.t
index a3da76c..3bdc4af 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,7 +24,7 @@ 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", "-allow-unimplemented"])),