When compiling the test suite for sequoia, be sure to define USE_SEQUOIA sync
authorNeal H. Walfield <neal@pep.foundation>
Wed, 26 Dec 2018 20:44:07 +0100
branchsync
changeset 3210206d68617cf8
parent 3209 c15b4ca2b52a
child 3211 8ca54e726b3c
When compiling the test suite for sequoia, be sure to define USE_SEQUOIA

- This problem arose, because KeyResetMessageTests directly uses
PEP_SESSION, which has a different layout for GnuPG than for
Sequoia.
test/Makefile
     1.1 --- a/test/Makefile	Tue Dec 25 14:46:45 2018 +0100
     1.2 +++ b/test/Makefile	Wed Dec 26 20:44:07 2018 +0100
     1.3 @@ -44,7 +44,7 @@
     1.4  ifeq ($(OPENPGP),SEQUOIA)
     1.5  	LDFLAGS+= $(SEQUOIA_LDFLAGS)
     1.6  	LDLIBS+= $(SEQUOIA_LIB)
     1.7 -	CFLAGS+= $(SEQUOIA_CFLAGS)
     1.8 +	CFLAGS+= $(SEQUOIA_CFLAGS) -DUSE_SEQUOIA
     1.9  	INC_FLAGS+= $(SEQUOIA_INC)
    1.10  endif
    1.11