Skip to content

Commit

Permalink
[ci skip] Add some missing files
Browse files Browse the repository at this point in the history
  • Loading branch information
rjfarmer committed Oct 29, 2021
1 parent 86b93de commit 45c53d0
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 0 deletions.
2 changes: 2 additions & 0 deletions astero/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
## Executables
star
29 changes: 29 additions & 0 deletions astero/test_suite/each_test_compile
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#!/bin/bash

function check_okay {
if [ $? -ne 0 ]
then
exit 1
fi
}

function do_one {
id=$((id+1))
if [ "$DO_ALL" == 1 ] || [ "$curr_id" == "$id" ] ; then
cd "$1" || return
echo "clean $1"

./clean
./mk
check_okay
cd ..
fi
}

DO_ALL=0
id=0
curr_id="$1"
if [ ! "$1" ]; then
DO_ALL=1
fi
source do1_test_source
29 changes: 29 additions & 0 deletions binary/test_suite/each_test_compile
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#!/bin/bash

function check_okay {
if [ $? -ne 0 ]
then
exit 1
fi
}

function do_one {
id=$((id+1))
if [ "$DO_ALL" == 1 ] || [ "$curr_id" == "$id" ] ; then
cd "$1" || return
echo "clean $1"

./clean
./mk
check_okay
cd ..
fi
}

DO_ALL=0
id=0
curr_id="$1"
if [ ! "$1" ]; then
DO_ALL=1
fi
source do1_test_source

0 comments on commit 45c53d0

Please sign in to comment.