reduce test make targets, organize test file structure (#5931)

* reduce test make targets, organize test file structure

Signed-off-by: anandrkskd <anandrkskd@gmail.com>

* remove report collection

Signed-off-by: anandrkskd <anandrkskd@gmail.com>
This commit is contained in:
Anand Kumar Singh
2022-07-13 11:02:11 +05:30
committed by GitHub
parent 2ae27e9dcd
commit c7f3f3b1d1
33 changed files with 71 additions and 421 deletions

View File

@@ -9,15 +9,12 @@ ibmcloud target -r "${IBM_REGION}"
ibmcloud ks cluster config --cluster "${IBM_KUBERNETES_ID}" --admin
cleanup_namespaces
export SKIP_USER_LOGIN_TESTS=true
(
set -e
make install
make test-integration-devfile
make test-interactive
make test-e2e-devfile
make test-cmd-project
make test-generic
make test-integration
make test-e2e
) |& tee "/tmp/${LOGFILE}"
RESULT=${PIPESTATUS[0]}

View File

@@ -15,11 +15,7 @@ cleanup_namespaces
set -e
make install
make test-integration
make test-interactive
make test-integration-devfile
make test-cmd-login-logout
make test-cmd-project
make test-e2e-devfile
make test-e2e
) |& tee "/tmp/${LOGFILE}"
RESULT=${PIPESTATUS[0]}

View File

@@ -67,15 +67,9 @@ function Run-Test {
Shout "Create Binary"
make install
Shout "Running test"
make test-integration-devfile | tee -a C:\Users\Administrator.ANSIBLE-TEST-VS\AppData\Local\Temp\$LOGFILE
Check-ExitCode $LASTEXITCODE
make test-integration | tee -a C:\Users\Administrator.ANSIBLE-TEST-VS\AppData\Local\Temp\$LOGFILE
Check-ExitCode $LASTEXITCODE
make test-cmd-login-logout | tee -a C:\Users\Administrator.ANSIBLE-TEST-VS\AppData\Local\Temp\$LOGFILE
Check-ExitCode $LASTEXITCODE
make test-cmd-project | tee -a C:\Users\Administrator.ANSIBLE-TEST-VS\AppData\Local\Temp\$LOGFILE
Check-ExitCode $LASTEXITCODE
make test-e2e-devfile | tee -a C:\Users\Administrator.ANSIBLE-TEST-VS\AppData\Local\Temp\$LOGFILE
make test-e2e | tee -a C:\Users\Administrator.ANSIBLE-TEST-VS\AppData\Local\Temp\$LOGFILE
Check-ExitCode $LASTEXITCODE
Pop-Location