diff options
author | Sam James <sam@gentoo.org> | 2022-08-31 19:26:31 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-08-31 19:29:12 +0100 |
commit | 1b62c37fad54dc6ea50465ad2a6968dbfd10e538 (patch) | |
tree | 6c65b759a37366c3673a0a441537d09f88a52594 /dev-lang | |
parent | app-forensics/aflplusplus: fix make args (diff) | |
download | gentoo-1b62c37fad54dc6ea50465ad2a6968dbfd10e538.tar.gz gentoo-1b62c37fad54dc6ea50465ad2a6968dbfd10e538.tar.bz2 gentoo-1b62c37fad54dc6ea50465ad2a6968dbfd10e538.zip |
dev-lang/lua: fix tests
Fixes: 0a342ee2536a73c3c45f6bebf0cb0e0692a637c8
Closes: https://bugs.gentoo.org/867700
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/lua/lua-5.1.5-r109.ebuild | 2 | ||||
-rw-r--r-- | dev-lang/lua/lua-5.3.6-r5.ebuild | 2 | ||||
-rw-r--r-- | dev-lang/lua/lua-5.4.4-r2.ebuild | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/dev-lang/lua/lua-5.1.5-r109.ebuild b/dev-lang/lua/lua-5.1.5-r109.ebuild index 624a4798c45a..1f3cf7c890ed 100644 --- a/dev-lang/lua/lua-5.1.5-r109.ebuild +++ b/dev-lang/lua/lua-5.1.5-r109.ebuild @@ -128,7 +128,7 @@ src_test() { local negative="readonly" local test - cd "${BUILD_DIR}" || die + cd "${S}" || die for test in ${positive}; do test/lua.static test/${test}.lua || die "test $test failed" done diff --git a/dev-lang/lua/lua-5.3.6-r5.ebuild b/dev-lang/lua/lua-5.3.6-r5.ebuild index 81af6e5ff3d3..dda88b171a53 100644 --- a/dev-lang/lua/lua-5.3.6-r5.ebuild +++ b/dev-lang/lua/lua-5.3.6-r5.ebuild @@ -171,7 +171,7 @@ src_test() { rm -f "${TEST_MARKER}" TEST_LOG="${T}/test.log" - eval "${BUILD_DIR}"/src/lua${SLOT} ${TEST_OPTS} all.lua 2>&1 | tee "${TEST_LOG}" || die + eval "${S}"/src/lua${SLOT} ${TEST_OPTS} all.lua 2>&1 | tee "${TEST_LOG}" || die grep -sq -e "final OK" "${TEST_LOG}" || echo "FAIL" >>"${TEST_MARKER}" if [ -e "${TEST_MARKER}" ]; then diff --git a/dev-lang/lua/lua-5.4.4-r2.ebuild b/dev-lang/lua/lua-5.4.4-r2.ebuild index 07805db95066..c986db183067 100644 --- a/dev-lang/lua/lua-5.4.4-r2.ebuild +++ b/dev-lang/lua/lua-5.4.4-r2.ebuild @@ -168,7 +168,7 @@ src_test() { rm -f "${TEST_MARKER}" TEST_LOG="${T}/test.log" - eval "${BUILD_DIR}"/src/lua${SLOT} ${TEST_OPTS} all.lua 2>&1 | tee "${TEST_LOG}" || die + eval "${S}"/src/lua${SLOT} ${TEST_OPTS} all.lua 2>&1 | tee "${TEST_LOG}" || die grep -sq -e "final OK" "${TEST_LOG}" || echo "FAIL" >>"${TEST_MARKER}" if [ -e "${TEST_MARKER}" ]; then |