mirror of
https://codeberg.org/scip/pcp.git
synced 2025-12-18 20:30:58 +01:00
py: added doc, unittests, anonymous encryption mode
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# This file is part of Pretty Curved Privacy (pcp1).
|
||||
#
|
||||
# Copyright (C) 2013 T.Linden.
|
||||
# Copyright (C) 2013-2015 T. von Dein.
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@@ -64,11 +64,20 @@ cpptest_SOURCES = cpptest.cpp
|
||||
# %wheel ALL = NOPASSWD: /sbin/umount
|
||||
# %wheel ALL = NOPASSWD: /sbin/mdmfs
|
||||
|
||||
test: check
|
||||
if BUILDPY
|
||||
MAYPY=pytest
|
||||
endif
|
||||
|
||||
test: check $(MAYPY)
|
||||
|
||||
ctest:
|
||||
rm -f test* v* stresstest/*
|
||||
./unittests.pl unittests.cfg $(CHECK)
|
||||
@echo "To run a single test only, type: 'make test CHECK=testname'"
|
||||
|
||||
pytest:
|
||||
./unittests.pl pyunittests.cfg $(CHECK)
|
||||
|
||||
stresstest: check
|
||||
./unittests.pl stresstests.cfg
|
||||
|
||||
|
||||
Reference in New Issue
Block a user