Mercurial > projects > orange
annotate unittest.sh @ 51:70df72d2299a default tip
Added unit tests for events.
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Sat, 13 Aug 2011 17:06:35 +0200 |
parents | 715cd0264c15 |
children |
rev | line source |
---|---|
41
b538d02578cb
Added a file for running the unit tests.
Jacob Carlborg <doob@me.com>
parents:
diff
changeset
|
1 #!/bin/sh |
b538d02578cb
Added a file for running the unit tests.
Jacob Carlborg <doob@me.com>
parents:
diff
changeset
|
2 |
b538d02578cb
Added a file for running the unit tests.
Jacob Carlborg <doob@me.com>
parents:
diff
changeset
|
3 dmd -unittest -ofunittest \ |
50
715cd0264c15
Simplified the script for running the unit tests.
Jacob Carlborg <doob@me.com>
parents:
49
diff
changeset
|
4 orange/core/*.d \ |
715cd0264c15
Simplified the script for running the unit tests.
Jacob Carlborg <doob@me.com>
parents:
49
diff
changeset
|
5 orange/serialization/*.d \ |
715cd0264c15
Simplified the script for running the unit tests.
Jacob Carlborg <doob@me.com>
parents:
49
diff
changeset
|
6 orange/serialization/archives/*.d \ |
715cd0264c15
Simplified the script for running the unit tests.
Jacob Carlborg <doob@me.com>
parents:
49
diff
changeset
|
7 orange/test/*.d \ |
715cd0264c15
Simplified the script for running the unit tests.
Jacob Carlborg <doob@me.com>
parents:
49
diff
changeset
|
8 orange/util/*.d \ |
715cd0264c15
Simplified the script for running the unit tests.
Jacob Carlborg <doob@me.com>
parents:
49
diff
changeset
|
9 orange/util/collection/*.d \ |
715cd0264c15
Simplified the script for running the unit tests.
Jacob Carlborg <doob@me.com>
parents:
49
diff
changeset
|
10 orange/xml/*.d \ |
715cd0264c15
Simplified the script for running the unit tests.
Jacob Carlborg <doob@me.com>
parents:
49
diff
changeset
|
11 tests/*.d |
41
b538d02578cb
Added a file for running the unit tests.
Jacob Carlborg <doob@me.com>
parents:
diff
changeset
|
12 |
b538d02578cb
Added a file for running the unit tests.
Jacob Carlborg <doob@me.com>
parents:
diff
changeset
|
13 if [ "$?" = 0 ] ; then |
b538d02578cb
Added a file for running the unit tests.
Jacob Carlborg <doob@me.com>
parents:
diff
changeset
|
14 ./unittest |
b538d02578cb
Added a file for running the unit tests.
Jacob Carlborg <doob@me.com>
parents:
diff
changeset
|
15 fi |