Sha256: 0a1956c87c82d9ccb53d0bea6e281e2147c1b55de80ca05f512f084197c1659c

Contents?: true

Size: 494 Bytes

Versions: 11

Compression:

Stored size: 494 Bytes

Contents

#!/bin/bash


for dir in ./*/
do
    dir=${dir%*/}
    test_name=${dir##*/}
    echo $test_name

    if [ -d temp_test ]; then
        echo "Cleaning temp files..."
        rm -r temp_test
    fi

    mkdir temp_test
    cp -r $test_name ./temp_test
    rm -r ./temp_test/$test_name/.meta
    cp -r $test_name/.meta/reference/* ./temp_test/$test_name
    cp -r ./.ballerina ./temp_test
    cd ./temp_test
    ballerina init
    ballerina test $test_name
    cd ..
    rm -r temp_test




done

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
trackler-2.2.1.180 tracks/ballerina/exercises/run_ballerina_tests.sh
trackler-2.2.1.179 tracks/ballerina/exercises/run_ballerina_tests.sh
trackler-2.2.1.178 tracks/ballerina/exercises/run_ballerina_tests.sh
trackler-2.2.1.177 tracks/ballerina/exercises/run_ballerina_tests.sh
trackler-2.2.1.176 tracks/ballerina/exercises/run_ballerina_tests.sh
trackler-2.2.1.175 tracks/ballerina/exercises/run_ballerina_tests.sh
trackler-2.2.1.174 tracks/ballerina/exercises/run_ballerina_tests.sh
trackler-2.2.1.173 tracks/ballerina/exercises/run_ballerina_tests.sh
trackler-2.2.1.172 tracks/ballerina/exercises/run_ballerina_tests.sh
trackler-2.2.1.171 tracks/ballerina/exercises/run_ballerina_tests.sh
trackler-2.2.1.170 tracks/ballerina/exercises/run_ballerina_tests.sh