Skip to content

Commit

Permalink
Hide the vg build environment from the doc tests, so they can exercis…
Browse files Browse the repository at this point in the history
…e build dependency finding
  • Loading branch information
adamnovak committed Oct 19, 2023
1 parent a79e681 commit 53af198
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,10 @@ deps: $(DEPS)

test: $(BIN_DIR)/$(EXE) $(LIB_DIR)/libvg.a test/build_graph $(BIN_DIR)/shuf $(BIN_DIR)/vcf2tsv $(FASTAHACK_DIR)/fastahack $(BIN_DIR)/rapper
. ./source_me.sh && cd test && prove -v t
. ./source_me.sh && doc/test-docs.sh
# Hide the compiler configuration from the doc tests, so that the ones that
# build code can't pick up libraries out of the bg build itself. Definitely
# don't source source_me.sh!
CFLAGS= CXXFLAGS= CPPFLAGS= LDFLAGS= INCLUDE_FLAGS= LIBRARY_PATH= LD_LIBRARY_PATH= DYLD_LIBRARY_PATH= DYLD_FALLBACK_LIBRARY_PATH= LD_INCLUDE_PATH= CC= CXX= CXX_STANDARD= doc/test-docs.sh

# Somebody has been polluting the test directory with temporary files that are not deleted after the tests.
# To make git status more useful, we delete everything that looks like a temporary file.
Expand Down

1 comment on commit 53af198

@adamnovak
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

vg CI tests complete for branch force-cxx-standard. View the full report here.

16 tests passed, 0 tests failed and 0 tests skipped in 17618 seconds

Please sign in to comment.