Skip to content
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
ec4696a
Make SplitterFactoryTest's main run its tests; fix test drivers' main…
mernst Oct 11, 2026
8aaa95b
Accept --help in SampleTester; name failing tests in SplitterFactoryT…
mernst Oct 11, 2026
c52ece8
Run SplitterFactoryTest from the junit target
mernst Oct 11, 2026
0461672
Merge branch 'test-driver-fixes' into run-splitter-factory-test
mernst Oct 11, 2026
4255747
Do not overwrite goal files when generating SplitterFactoryTest; fix …
mernst Oct 11, 2026
edc8871
Reject invalid options in SampleTester and SplitterFactoryTest
mernst Oct 11, 2026
9d284dd
Reject unknown options in test drivers; report SplitterFactoryTest fa…
mernst Oct 11, 2026
0d4569f
Reset splitter numbering in SplitterFactoryTest; run it via JUnitCore…
mernst Oct 11, 2026
8df52e1
Write SplitterFactoryTest goal files only via make update-splitter-go…
mernst Oct 11, 2026
965a5f6
update-splitter-goals removes stale goal files and rebuilds the updat…
mernst Oct 11, 2026
606300f
Merge branch 'master' of github.com:codespecs/daikon into test-driver…
mernst Oct 12, 2026
d3d9e87
Merge branch 'test-driver-fixes' into run-splitter-factory-test
mernst Oct 12, 2026
b2c3433
Order the SplitterFactoryTest rules after compiling Daikon; correct M…
mernst Oct 12, 2026
5ecdcee
Merge branch 'master' into run-splitter-factory-test
mernst Oct 13, 2026
cf00cd9
Merge codespecs/daikon master into run-splitter-factory-test
mernst Oct 17, 2026
1d8c97f
Merge branch 'master' into run-splitter-factory-test
mernst Oct 19, 2026
00cb1db
Merge codespecs/daikon master into run-splitter-factory-test
mernst Oct 20, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions java/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -1220,8 +1220,8 @@ check-serialize:

.PHONY: junit
junit: daikon/Daikon.class
@# This is not a prerequisite, so that "make -j" does not run it concurrently
@# with compiling Daikon, whose classes the SplitterFactoryTest rules use.
@# This is not a prerequisite: when the daikon/Daikon.class recipe runs, its
@# sub-make builds SplitterFactoryTest, and this make would redo that work.
${MAKE} ${AUTO_GENERATED_CLASSES_2}
@echo "Running unit (not system) tests..."
LC_ALL=en_US.UTF-8 ${JAVA_COMMAND} org.junit.runner.JUnitCore daikon.test.AllTestsSuite
Expand Down Expand Up @@ -1468,8 +1468,9 @@ list_java_files: showvar_JAVA_FILES
### Automatically generated files
###

# This must NOT depend on "daikon/Daikon.class", as that would lead to infinite regress.
daikon/test/split/SplitterFactoryTestUpdater.class: daikon/test/split/SplitterFactoryTestUpdater.java
# The updater uses Daikon's classes, so it must be compiled after Daikon; this order-only
# prerequisite also orders the SplitterFactoryTest rules after Daikon, even under "make -j".
daikon/test/split/SplitterFactoryTestUpdater.class: daikon/test/split/SplitterFactoryTestUpdater.java | daikon/Daikon.class
${JAVAC_COMMAND} $<

## First, a file not generated via java-cpp.
Expand All @@ -1488,7 +1489,8 @@ daikon/test/split/SplitterFactoryTest.java: daikon/Daikon.class \
|| ${JAVA_COMMAND} daikon.test.split.SplitterFactoryTestUpdater ${SPLITTER_UPDATER_ARGS}
chmod a-w $@

${AUTO_GENERATED_CLASSES_2}: ${AUTO_GENERATED_FILES_2}
# SplitterFactoryTest calls Daikon's methods, so recompile it when Daikon changes.
${AUTO_GENERATED_CLASSES_2}: ${AUTO_GENERATED_FILES_2} daikon/Daikon.class
${JAVAC_COMMAND} ${AUTO_GENERATED_FILES_2}

# Overwrites SplitterFactoryTest's goal files with the current SplitterFactory output.
Expand Down
Loading