]>
Commit | Line | Data |
---|---|---|
7af964d1 A |
1 | objc4 test suite README |
2 | ||
3 | To run the tests: | |
4 | `make` in this directory, or `make test` in the top-level directory | |
5 | ||
6 | Correct test output consists of 'PASS: testname' for each test. | |
7 | No other output should be seen. | |
8 | ||
9 | Other options: | |
10 | `make` tests the installed libobjc | |
11 | `make buildit` tests the libobjc in /tmp/objc4-roots/objc4~sym/ | |
12 | `make local` tests the libobjc in .. | |
13 | ||
14 | `make GC=YES` runs with garbage collection on | |
15 | `make ARCHS=cpu` tests with the specified architecture (only one allowed) | |
16 | `make VALGRIND=YES` runs with valgrind on (memcheck and leak detection) | |
17 | `make GUARDMALLOC=YES` runs with GuardMalloc on | |
18 | ||
19 | `make OBJC_LIB=/path/to/libobjc.A.dylib` tests a specific objc4 build | |
20 | `make OTHER_CFLAGS=x` tests with specified flags | |
21 | ||
22 | `make VERBOSE=` logs progress of some tests |