Skip to content

Commit

Permalink
make test: use 'run -i' to make interruptible
Browse files Browse the repository at this point in the history
  • Loading branch information
bertsky committed Apr 11, 2023
1 parent d58eac7 commit fe07565
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ test-production: $(DATA)/testdata-production
ifeq ($(NETWORK),bridge)
ssh -i $(PRIVATE) -Tn -p $(PORT) ocrd@localhost $(SCRIPT) $(<F)
else
docker exec -t -u ocrd `docker container ls -qf name=ocrd-manager` $(SCRIPT) $(<F)
docker exec -it -u ocrd `docker container ls -qf name=ocrd-manager` $(SCRIPT) $(<F)
endif
test -d $</ocr/alto
test -s $</ocr/alto/00000009.tif.original.xml
Expand All @@ -100,7 +100,7 @@ test-presentation:
ifeq ($(NETWORK),bridge)
ssh -i $(PRIVATE) -Tn -p $(PORT) ocrd@localhost $(SCRIPT) $(<F)/mets.xml
else
docker exec -t -u ocrd `docker container ls -qf name=ocrd-manager` $(SCRIPT) $(<F)/mets.xml
docker exec -it -u ocrd `docker container ls -qf name=ocrd-manager` $(SCRIPT) $(<F)/mets.xml
endif
diff -u <(docker run --rm -v $(DATA):/data $(TAGNAME) ocrd workspace -d $(<F) find -G FULLTEXT -g PHYS_0017..PHYS_0021) <(for file in FULLTEXT/FULLTEXT_PHYS_00{17..21}.xml; do echo $(PREFIX)/$$file; done)

Expand Down
File renamed without changes.

0 comments on commit fe07565

Please sign in to comment.