diff --git a/.travis.yml b/.travis.yml index 7d742445..fa25d1b3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -105,14 +105,12 @@ script: - make all -k # Set up environment variables for the tests - - export CFLAGS="-I$DESTDIR/usr/include" - export LD_LIBRARY_PATH="$DESTDIR/usr/lib:$DESTDIR/lib" - export PATH="$DESTDIR/usr/sbin:$DESTDIR/usr/bin:$DESTDIR/sbin:$DESTDIR/bin:$PATH" - export PYTHONPATH="$PYSITEDIR" - export RUBYLIB="$DESTDIR/$($RUBY -e 'puts RbConfig::CONFIG["vendorlibdir"]'):$DESTDIR/$($RUBY -e 'puts RbConfig::CONFIG["vendorarchdir"]')" # Show variables (to help debugging issues) - - echo "$CFLAGS" - echo "$LD_LIBRARY_PATH" - echo "$PATH" - echo "$PYTHONPATH" diff --git a/libsemanage/tests/Makefile b/libsemanage/tests/Makefile index 3fe7d16f..885b5443 100644 --- a/libsemanage/tests/Makefile +++ b/libsemanage/tests/Makefile @@ -11,7 +11,7 @@ LIBS = ../src/libsemanage.a -L$(LIBDIR) -lselinux -lsepol EXECUTABLE = libsemanage-tests CFLAGS += -g -O0 -Wall -W -Wundef -Wmissing-noreturn -Wmissing-format-attribute -Wno-unused-parameter -INCLUDE = -I../src -I../include +INCLUDE = -I../src -I../include -I$(PREFIX)/include LDFLAGS += -lcunit -lbz2 -laudit OBJECTS = $(SOURCES:.c=.o)