| 1 |
# Tests that are currently passing |
| 2 |
PASSING_TESTS = Bug109 compat issue265 issue594 issue607 multiple-errors package-anno shorthand |
| 3 |
ifeq (,$(findstring 1.8,$(shell javac -version))) |
| 4 |
# issue309 and issue502 fail with Java 11 because of differences between Java 8 and Java 11 bytecode. |
| 5 |
# TODO: issue559 should work with an annotated jdk11. |
| 6 |
PASSING_TESTS_JDK8 = issue309 issue502 issue559 |
| 7 |
else |
| 8 |
PASSING_TESTS_JDK8 = |
| 9 |
endif |
| 10 |
|
| 11 |
# Tests that are currently not passing |
| 12 |
FAILING_TESTS = |
| 13 |
|
| 14 |
# Tests that are currently passing |
| 15 |
all: ${PASSING_TESTS} ${PASSING_TESTS_JDK8} |
| 16 |
|
| 17 |
# Tests that are currently not passing |
| 18 |
skipped: ${FAILING_TESTS} |
| 19 |
|
| 20 |
|
| 21 |
Bug109: |
| 22 |
$(JAVAC) -processor org.checkerframework.checker.nullness.NullnessChecker Bug109_A.java Bug109_B.java |
| 23 |
$(JAVAC) -processor org.checkerframework.checker.nullness.NullnessChecker Bug109_B.java Bug109_A.java |
| 24 |
|
| 25 |
|
| 26 |
compat: |
| 27 |
$(MAKE) -C compat |
| 28 |
|
| 29 |
issue265: |
| 30 |
$(MAKE) -C issue265 |
| 31 |
|
| 32 |
issue309: |
| 33 |
$(MAKE) -C issue309 |
| 34 |
|
| 35 |
issue502: |
| 36 |
$(MAKE) -C issue502 |
| 37 |
|
| 38 |
issue559: |
| 39 |
$(MAKE) -C issue559 |
| 40 |
|
| 41 |
issue594: |
| 42 |
$(MAKE) -C issue594 |
| 43 |
|
| 44 |
multiple-errors: |
| 45 |
$(MAKE) -C multiple-errors |
| 46 |
|
| 47 |
package-anno: |
| 48 |
$(MAKE) -C package-anno |
| 49 |
|
| 50 |
shorthand: |
| 51 |
$(MAKE) -C shorthand |
| 52 |
|
| 53 |
issue607: |
| 54 |
$(MAKE) -C issue607 |
| 55 |
|
| 56 |
# All tests: passing and failing |
| 57 |
.PHONY: all skipped ${PASSING_TESTS} |