removing test-acceptance-from-core-api and merging core and api behat config files to use single command to run api tests

This commit is contained in:
Niraj Acharya
2024-09-03 12:08:19 +05:45
parent 61a3a51bd4
commit 415a4b5f56
5 changed files with 325 additions and 352 deletions
+5 -8
View File
@@ -9,6 +9,7 @@ git config --global advice.detachedHead false
if [ "$TEST_SOURCE" = "oc10" ]
then
export ACCEPTANCE_TEST_TYPE='core-api'
if [ "$STORAGE_DRIVER" = "ocis" ]
then
export OCIS_REVA_DATA_ROOT=''
@@ -67,17 +68,13 @@ fi
## RUN TEST
if [ "$TEST_SOURCE" = "oc10" ]
if [[ -z "$TEST_SOURCE" ]]
then
sleep 10
make -C $OCIS_ROOT test-acceptance-from-core-api
elif [ "$TEST_SOURCE" = "ocis" ]
then
sleep 10
make -C $OCIS_ROOT test-acceptance-api
else
echo "non existing TEST_SOURCE selected"
exit 1
else
sleep 10
make -C $OCIS_ROOT test-acceptance-api
fi
chmod -R 777 vendor-bin/**/vendor vendor-bin/**/composer.lock tests/acceptance/output