ee423f391d
- Use a recursive descent parser so that it's easy to extend. - Add `@args` to enable customizing command-line arguments - Add `@should-start` to enable `nix repl` tests that error before entering the REPL - Make sure to read all stdout output before comparing. This catches some extra output we were tossing out before! Change-Id: I5522555df4c313024ab15cd10f9f04e7293bda3a
16 lines
461 B
Makefile
16 lines
461 B
Makefile
libraries += libutil-test-support
|
|
|
|
libutil-test-support_NAME = libnixutil-test-support
|
|
|
|
libutil-test-support_DIR := $(d)
|
|
|
|
libutil-test-support_INSTALL_DIR :=
|
|
|
|
libutil-test-support_SOURCES := $(wildcard $(d)/tests/*.cc)
|
|
|
|
libutil-test-support_CXXFLAGS += $(libutil-tests_EXTRA_INCLUDES) -I src/libutil
|
|
|
|
# libexpr so we can steal their string printer from print.cc
|
|
libutil-test-support_LIBS = libutil libexpr
|
|
|
|
libutil-test-support_LDFLAGS := -pthread -lrapidcheck
|