File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ test: $(REPORTDIR)/uberon-basic-allcycles \
4444 obocheck \
4545 test_obo_serialisation \
4646 test_obsolete \
47+ roundtrip_obo \
4748 test_owlaxioms
4849
4950# The other targets are manually triggered.
@@ -1431,10 +1432,9 @@ aspell:
14311432# OBO format tricks
14321433# ----------------------------------------
14331434.PHONY : roundtrip_obo
1434- roundtrip_obo : $(SRC )
1435- $(ROBOT ) convert -i $< -o $(TMPDIR ) /roundtrip.obo.tmp.obo && \
1436- mv $(TMPDIR ) /roundtrip.obo.tmp.obo $(TMPDIR ) /roundtrip.obo && \
1437- diff -i $< $(TMPDIR ) /roundtrip.obo
1435+ roundtrip_obo : $(SRC ) $(TMPDIR ) /NORMALIZE.obo
1436+ @diff -i $^ || \
1437+ { echo " ERROR: Normalization would add changes — please normalise (sh run.sh make normalize)." >&2 ; exit 1; }
14381438
14391439$(TMPDIR ) /NORMALIZE.obo : $(SRC )
14401440 $(ROBOT ) convert -i $< -o $@ .tmp.obo && mv $@ .tmp.obo $@
You can’t perform that action at this time.
0 commit comments