Revert "added a check so that if --run-tests is selected it will trigger both build and run tests"

This reverts commit 97beb533bad28b7ff4db37c80feed5371c1e53ec.