Skip to content
This repository
Fetching contributors…

Cannot retrieve contributors at this time

file 24 lines (17 sloc) 0.75 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
# __BEGIN_LICENSE__
# Copyright (C) 2006, 2007 United States Government as represented by
# the Administrator of the National Aeronautics and Space Administration.
# All Rights Reserved.
# __END_LICENSE__


########################################################################
# tests (using cxxtest)
########################################################################

SUFFIXES = .cxx

CXXTEST_DIR = $(top_srcdir)/thirdparty/cxxtest
CXXTEST_GEN = $(CXXTEST_DIR)/cxxtestgen.pl
CXXTEST_ARGS = --error-printer

.h.cxx:
$(CXXTEST_GEN) $(CXXTEST_ARGS) -o $@ $<

newtest:
@if test -z "$(NAME)"; then echo "run make NAME=TestName [MODULE=ModuleName] newtest"; else $(top_srcdir)/scripts/create-test.sh $(NAME) $(MODULE); fi

.PHONY: newtest
Something went wrong with that request. Please try again.