Skip to content

Commit

Permalink
Fix test skipping
Browse files Browse the repository at this point in the history
  • Loading branch information
nitisht committed Jul 7, 2017
1 parent 6697cb4 commit c48f489
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -114,13 +114,13 @@ coreMain() {
# read the SDKs to run
for i in ${root_dir}/${test_dir}/*;
do
# if directory exists.
if [[ -d "${i}" ]] && doesntContainElement "${i}" "${SDKS_TO_IGNORE[@]}"; then
sdk="$(basename "$i")"
sdk="$(basename "$i")"
# if "i" is a directory
if [[ -d "${i}" ]] && doesntContainElement "$sdk" "${SDKS_TO_IGNORE[@]}"; then
echo -n "Running $sdk tests ... "
# log start time
start=$(date +%s)
runCoreTest "$i" "$MINT_MODE" || { printMsg; exit 2; }
runCoreTest "$i" || { printMsg; exit 2; }
# log end time
end=$(date +%s)
# get diif
Expand Down

0 comments on commit c48f489

Please sign in to comment.