Browse Source

Move test-abi.sh into ci directory (#7536)

steviez 3 months ago
parent
commit
f6b92ef3dc
3 changed files with 11 additions and 9 deletions
  1. 1 1
      ci/buildkite-pipeline.sh
  2. 10 0
      ci/test-abi.sh
  3. 0 8
      test-abi.sh

+ 1 - 1
ci/buildkite-pipeline.sh

@@ -185,7 +185,7 @@ all_test_steps() {
   command_step dcou-2-of-3 "ci/docker-run-default-image.sh ci/test-dev-context-only-utils.sh --partition 2/3" 20 check
   command_step dcou-3-of-3 "ci/docker-run-default-image.sh ci/test-dev-context-only-utils.sh --partition 3/3" 20 check
   command_step miri "ci/docker-run-default-image.sh ci/test-miri.sh" 5 check
-  command_step frozen-abi "ci/docker-run-default-image.sh ./test-abi.sh" 15 check
+  command_step frozen-abi "ci/docker-run-default-image.sh ci/test-abi.sh" 15 check
   wait_step
 
   # Full test suite

+ 10 - 0
ci/test-abi.sh

@@ -0,0 +1,10 @@
+#!/usr/bin/env bash
+#
+# Easily run the ABI tests for the entire repo or a subset
+#
+
+here="$(dirname "$0")"
+cargo="$(readlink -f "${here}/../cargo")"
+
+set -x
+exec "$cargo" nightly test --features frozen-abi --lib -- test_abi_ --nocapture

+ 0 - 8
test-abi.sh

@@ -1,8 +0,0 @@
-#!/usr/bin/env bash
-#
-# Easily run the ABI tests for the entire repo or a subset
-#
-
-here=$(dirname "$0")
-set -x
-exec "${here}/cargo" nightly test --features frozen-abi --lib -- test_abi_ --nocapture