mirror of
https://github.com/darlinghq/darling-libclosure.git
synced 2024-11-26 21:50:23 +00:00
16 lines
473 B
Bash
Executable File
16 lines
473 B
Bash
Executable File
#!/bin/sh
|
|
# Simple script to run the libclosure tests
|
|
# Note: to build the testing root, the makefile will ask to authenticate with sudo
|
|
# <rdar://problem/6456031> ER: option to not require extra privileges (-nosudo or somesuch)
|
|
# Use the RootsDirectory environment variable to direct the build to somewhere other than /tmp/
|
|
|
|
StartingDir="$PWD"
|
|
TestsDir="`dirname $0`/objectTests/"
|
|
|
|
cd "$TestsDir"
|
|
make libsystemroot roottests
|
|
XIT=$?
|
|
make clean
|
|
cd "$StartingDir"
|
|
exit $XIT
|