curl: define TEST_REQUIRES, as discussed in haikuports/haikuporter#151

This commit is contained in:
fbrosson
2018-03-31 16:01:57 +00:00
parent 2a1fbd65cf
commit 95baaa67cd

View File

@@ -65,16 +65,12 @@ BUILD_PREREQUIRES="
cmd:sed
"
TEST_PREREQUIRES="
TEST_REQUIRES="
cmd:id
cmd:perl
cmd:sftp_server
cmd:sshd
"
# The following line does not work, although it has worked in 2016 and/or 2017.
if [ "$recipeAction" = TEST ]; then BUILD_PREREQUIRES+="$TEST_PREREQUIRES"; fi
# Uncomment the following line before the build if you wish to run the tests.
#BUILD_PREREQUIRES+="$TEST_PREREQUIRES"
defineDebugInfoPackage curl$secondaryArchSuffix \
$binDir/curl \