Skip to content

Commit 920eec4

Browse files
Align run-integration-test script with generator repo
1 parent f95974c commit 920eec4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/run-integration-test.sh

100644100755
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env bash
1+
#!/bin/bash
22
##===----------------------------------------------------------------------===##
33
##
44
## This source file is part of the SwiftOpenAPIGenerator open source project
@@ -24,7 +24,7 @@ JQ_BIN=${JQ_BIN:-$(command -v jq)} || fatal "JQ_BIN unset and no jq on PATH"
2424

2525
CURRENT_SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
2626
REPO_ROOT="$(git -C "${CURRENT_SCRIPT_DIR}" rev-parse --show-toplevel)"
27-
TMP_DIR=$(mktemp -d "${PWD}/tmp.$(basename "$0").XXXXXXXXXX.noindex")
27+
TMP_DIR=$(/usr/bin/mktemp -d -p "${TMPDIR-/tmp}" "$(basename "$0").XXXXXXXXXX")
2828

2929
PACKAGE_PATH=${PACKAGE_PATH:-${REPO_ROOT}}
3030

@@ -43,6 +43,6 @@ swift package --package-path "${INTEGRATION_TEST_PACKAGE_PATH}" \
4343
edit "${PACKAGE_NAME}" --path "${PACKAGE_PATH}"
4444

4545
log "Building integration test package: ${INTEGRATION_TEST_PACKAGE_PATH}"
46-
swift build --package-path "${INTEGRATION_TEST_PACKAGE_PATH}" -Xswiftc -strict-concurrency=complete
46+
swift build --package-path "${INTEGRATION_TEST_PACKAGE_PATH}"
4747

4848
log "✅ Successfully built integration test package."

0 commit comments

Comments
 (0)