ensure desired gtest directory is first include dir to avoid problems with coexisting default installs (especially ancient ones ;) sync
authorKrista 'DarthMama' Bennett <krista@pep.foundation>
Thu, 29 Aug 2019 22:28:17 +0200
branchsync
changeset 4030ba2eed4caacf
parent 4029 07fffddd4354
child 4031 cbedd24a8359
ensure desired gtest directory is first include dir to avoid problems with coexisting default installs (especially ancient ones ;)
test/Makefile
test/README.md
     1.1 --- a/test/Makefile	Thu Aug 29 19:36:13 2019 +0200
     1.2 +++ b/test/Makefile	Thu Aug 29 22:28:17 2019 +0200
     1.3 @@ -52,10 +52,10 @@
     1.4      endif
     1.5  endif
     1.6  
     1.7 -CXXFLAGS:=$(filter-out -DNDEBUG,$(CXXFLAGS))
     1.8 +CXXFLAGS:=-I$(GTEST_INC_DIR) $(filter-out -DNDEBUG,$(CXXFLAGS))
     1.9  
    1.10  # FIXME Possibly missing incdirs: ASN1C_INC
    1.11 -CXXFLAGS+= -I./src -I../sync $(CPPUNIT_INC) $(INC_FLAGS) -I$(GTEST_INC_DIR) -Wno-deprecated
    1.12 +CXXFLAGS+= -I./src -I../sync $(CPPUNIT_INC) $(INC_FLAGS) -Wno-deprecated
    1.13  
    1.14  ifeq ($(OPENPGP),GPG)
    1.15      CXXFLAGS+= -DUSE_GPG $(GPGME_INC)
     2.1 --- a/test/README.md	Thu Aug 29 19:36:13 2019 +0200
     2.2 +++ b/test/README.md	Thu Aug 29 22:28:17 2019 +0200
     2.3 @@ -43,15 +43,18 @@
     2.4  
     2.5  # Running the Engine Test Suite
     2.6  
     2.7 -If you simply want to run the suite and see what tests fail, either:
     2.8 +## To simply run the test suite and see what tests fail...
     2.9 +
    2.10 +Do one of:
    2.11  
    2.12  1. make test OR
    2.13  2. python3 \<path to gtest-parallel.py\> ./EngineTests
    2.14  
    2.15 -To run individual tests, especially for debugging purposes:
    2.16 +## To run individual test suites, especially for debugging purposes
    2.17  
    2.18 -1. Blah, and, for example,
    2.19 -2. {lldb ./EngineTests some-blah-args-here}
    2.20 +1. To run sequentially, IN THE SAME PROCESS: ./EngineTests TestSuiteName* (for example, for DeleteKeyTest: ./EngineTests DeleteKeyTest*) 
    2.21 +2. To debug the same: lldb ./EngineTests TestSuiteName*
    2.22 +3. To run sequentially IN DIFFERENT PROCESSES: (FIXME - is this really the case?) 
    2.23  
    2.24  # Creating new tests
    2.25