Sha256: 45cb3413f28f391a06fe70b541a72c1d7577524aceba03801840f178fcbb50b1

Contents?: true

Size: 437 Bytes

Versions: 124

Compression:

Stored size: 437 Bytes

Contents

#! /usr/bin/env bash

if [[ ! -d "exercises" ]]; then
    echo "exercises directory not found!"
    exit 1
fi

cd ./exercises

for ex in *; do
    err_cnt=0
    impl="${ex}.el"
    cd $ex
    mv $impl "${impl}.tmp"
    cp example.el $impl
    emacs -batch -l ert -l "${ex}-test.el" -f ert-run-tests-batch-and-exit
    let "err_cnt += $?"
    mv "${impl}.tmp" $impl
    cd -
done

if [ $err_cnt -ne 0 ]
then
    exit 1
else
    exit 0
fi

Version data entries

124 entries across 124 versions & 1 rubygems

Version Path
trackler-2.2.1.86 tracks/elisp/bin/test-examples
trackler-2.2.1.85 tracks/elisp/bin/test-examples
trackler-2.2.1.84 tracks/elisp/bin/test-examples
trackler-2.2.1.83 tracks/elisp/bin/test-examples
trackler-2.2.1.82 tracks/elisp/bin/test-examples
trackler-2.2.1.81 tracks/elisp/bin/test-examples
trackler-2.2.1.80 tracks/elisp/bin/test-examples
trackler-2.2.1.79 tracks/elisp/bin/test-examples
trackler-2.2.1.78 tracks/elisp/bin/test-examples
trackler-2.2.1.77 tracks/elisp/bin/test-examples
trackler-2.2.1.76 tracks/elisp/bin/test-examples
trackler-2.2.1.75 tracks/elisp/bin/test-examples
trackler-2.2.1.74 tracks/elisp/bin/test-examples
trackler-2.2.1.73 tracks/elisp/bin/test-examples
trackler-2.2.1.72 tracks/elisp/bin/test-examples
trackler-2.2.1.71 tracks/elisp/bin/test-examples
trackler-2.2.1.70 tracks/elisp/bin/test-examples
trackler-2.2.1.69 tracks/elisp/bin/test-examples
trackler-2.2.1.68 tracks/elisp/bin/test-examples
trackler-2.2.1.67 tracks/elisp/bin/test-examples