Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Latest commit

 

History

History
executable file
·
24 lines (18 loc) · 458 Bytes

File metadata and controls

executable file
·
24 lines (18 loc) · 458 Bytes
 
1
2
3
4
5
#! /bin/bash
DIRECTORY="tests"
EXT="error"
Jul 1, 2011
Jul 1, 2011
6
#echo "Installing test suites to $DIRECTORY"
Jul 1, 2011
Jul 1, 2011
8
9
rm -Rfv $DIRECTORY > /dev/null 2>&1
mkdir $DIRECTORY > /dev/null 2>&1
10
11
12
13
14
15
16
17
18
19
20
21
22
23
PLATFORM="$(uname)"
if [[ $PLATFORM == "Linux" ]]; then
EXT="so"
elif [[ $PLATFORM == "Darwin" ]]; then
EXT="dylib"
fi
# TODO: put the test in an array
for suite in "testdummy" "testplatform" "testrect"
do
cp -f "$suite/.libs/lib$suite.$EXT" $DIRECTORY
done
Jul 1, 2011
Jul 1, 2011
24
echo "Test suites installed."