Skip to content

Commit 95f5ef2

Browse files
committed
fixed test run for real compilation
1 parent 6ac5d56 commit 95f5ef2

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

test/90_install.bats

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ load test_helper
1616
if [ "x$PHP_BAND_TEST_COMPILATION" = "x" ]; then
1717
skip "We only compile if PHP_BAND_TEST_COMPILATION is set"
1818
fi
19-
run bin/php-band --install 5.6.10
19+
PHP_BAND_ASSETS_DIR=$(dirname ${BATS_TEST_DIRNAME}) run bin/php-band --install 5.6.10
2020
assert_line_contains "PHP 5.6.10 has been downloaded"
2121
[ -f "archs/php-5.6.10.tar.xz" ]
2222
[ -d "src/php-5.6.10" ]

test/test_helper.bash

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
#!/usr/bin/env bash
2-
export PHP_BAND_ASSETS_DIR=$(readlink -f $(pwd)/test/assets)
32
export PHP_BAND_ASSETS_DIR=${BATS_TEST_DIRNAME}/assets
43
setup() {
54
find archs -type f -iname "php-5.6.10.*" -exec rm {} \;

0 commit comments

Comments
 (0)