root/branches/D1.0/src/test-dmd.sh

Revision 72, 273 bytes (checked in by sean, 3 years ago)

Added Posix test-dmd scripts to match the Win32 scripts.

  • Property svn:eol-style set to native
Line 
1 #!/usr/bin/env bash
2
3 OLDHOME=$HOME
4 export HOME=`pwd`
5
6 goerror(){
7     export HOME=$OLDHOME
8     echo "="
9     echo "= *** Error ***"
10     echo "="
11     exit 1
12 }
13
14 make clean unittest -fdmd-posix.mak || goerror
15 make clean -fdmd-posix.mak          || goerror
16
17 export HOME=$OLDHOME
Note: See TracBrowser for help on using the browser.