mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-21 03:55:27 +00:00
makefile: add a test-darcs-boringfile target
This commit is contained in:
parent
2d21029367
commit
319516a5a2
@ -176,6 +176,11 @@ count-lines:
|
||||
check-memory:
|
||||
$(PP) $(PYTHON) src/allmydata/test/check_memory.py
|
||||
|
||||
test-darcs-boringfile:
|
||||
make
|
||||
$(PYTHON) misc/test-darcs-boringfile.py
|
||||
|
||||
|
||||
clean: clean-zfec clean-Crypto clean-foolscap
|
||||
rm -rf build
|
||||
rm -f debian
|
||||
|
14
misc/test-darcs-boringfile.py
Normal file
14
misc/test-darcs-boringfile.py
Normal file
@ -0,0 +1,14 @@
|
||||
#! /usr/bin/python
|
||||
|
||||
import sys
|
||||
from subprocess import Popen, PIPE
|
||||
|
||||
cmd = ["darcs", "whatsnew", "-l"]
|
||||
p = Popen(cmd, stdout=PIPE)
|
||||
output = p.communicate()[0]
|
||||
print output
|
||||
if output == "No changes!\n":
|
||||
sys.exit(0)
|
||||
sys.exit(1)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user