1#!/bin/sh
2# Simple script to run the libclosure tests
3# Note: to build the testing root, the makefile will ask to authenticate with sudo
4# <rdar://problem/6456031> ER: option to not require extra privileges (-nosudo or somesuch)
5# Use the RootsDirectory environment variable to direct the build to somewhere other than /tmp/
6
7StartingDir="$PWD"
8TestsDir="`dirname $0`/objectTests/"
9
10cd "$TestsDir"
11make libsystemroot roottests
12XIT=$?
13make clean
14cd "$StartingDir"
15exit $XIT
16