Skip to content

Commit

Permalink
Fix test for consolidation (related to #3)
Browse files Browse the repository at this point in the history
  • Loading branch information
osma committed Nov 13, 2017
1 parent e49deea commit d5c17a1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ merged/%-merged.nt: $$(shell ls slices/$$(*)-?????-in.alephseq | sed -e 's/-in.a
rm -f $@.index*
$(HDTSEARCH) -q 0 $@

output/%.nt: merged/%-rewritten.hdt
output/%.nt: merged/%-merged.hdt
JAVA_OPTIONS=$(JVMARGS) $(HDTSPARQL) $^ "`cat sparql/consolidate-works.rq`" >$@

# Targets to be run externally
Expand Down Expand Up @@ -132,7 +132,7 @@ reconcile: $(patsubst %-in.alephseq,%-reconciled.nt,$(wildcard slices/*-in.aleph

merge: $(patsubst input/%.alephseq,merged/%-merged.nt,$(wildcard input/*.alephseq))

consolidate: $(patsubst input/%.alephseq,output/%.hdt,$(wildcard input/*.alephseq))
consolidate: $(patsubst input/%.alephseq,output/%.nt,$(wildcard input/*.alephseq))

.PHONY: all realclean clean slice preprocess mrcx rdf rewrite work-keys schema merge consolidate
.DEFAULT_GOAL := all
Expand Down
1 change: 1 addition & 0 deletions test/60_consolidate.bats
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ setup () {
}

@test "Consolidate works: basic consolidation" {
skip "not implemented, see https://github.com/NatLibFi/bib-rdf-pipeline/issues/3"
rm -f output/hawking.nt
rm -f output/hawking.hdt
make -j2 consolidate
Expand Down

0 comments on commit d5c17a1

Please sign in to comment.