diff options
author | Morgan Deters <mdeters@gmail.com> | 2010-02-19 20:29:58 +0000 |
---|---|---|
committer | Morgan Deters <mdeters@gmail.com> | 2010-02-19 20:29:58 +0000 |
commit | ce0e796ad92f040fb75435bd7880bc28a60b0374 (patch) | |
tree | 00a390f0347a30978b482cbbb6e074c6dc5a99d2 /test/unit/Makefile.tests | |
parent | 34b455b1d74fdc06dd2f874fa2bc8d73127fbedf (diff) |
* Attribute infrastructure -- static design. Documentation is coming.
See test/unit/expr/node_white.h for use examples, including how to
define new attribute kinds.
Also:
* fixes to test infrastructure
* minor changes to code formatting throughout
* attribute tests in test/unit/expr/node_white.h
* fixes to NodeManagerScope ordering
* use NodeValue::getKind() to properly deal with UNDEFINED_KIND
(removing compiler warning)
* ExprManager: add proper NodeManagerScope to public-facing member
functions
* store variable names and types in attributes
* SoftNode is a placeholder, not a real implementation
Diffstat (limited to 'test/unit/Makefile.tests')
-rw-r--r-- | test/unit/Makefile.tests | 23 |
1 files changed, 19 insertions, 4 deletions
diff --git a/test/unit/Makefile.tests b/test/unit/Makefile.tests index c542259b1..4f2f3dd5f 100644 --- a/test/unit/Makefile.tests +++ b/test/unit/Makefile.tests @@ -1,5 +1,20 @@ -TESTS := $(filter $(TEST_PREFIX)%,$(TESTS)) +# This makefile is separated because it's not under automake control. +# This gets confusing, because we want: +# +# 1. to (re)build only the tests in the "filtered" set of tests +# (those that we're going to run) +# 2. run only the tests in the "filtered" set of tests. +# +# It's a pain to make automake happy. -WHITE_TESTS = $(filter %_white,$(TESTS)) -BLACK_TESTS = $(filter %_black,$(TESTS)) -PUBLIC_TESTS = $(filter %_public,$(TESTS)) +# Add "filtered" tests to the set of TESTS +TESTS = $(filter $(TEST_PREFIX)%,$(UNIT_TESTS)) + +# subsets of the tests, based on name +WHITE_TESTS = $(filter %_white,$(UNIT_TESTS)) +BLACK_TESTS = $(filter %_black,$(UNIT_TESTS)) +PUBLIC_TESTS = $(filter %_public,$(UNIT_TESTS)) + +# This rule forces automake to correctly build our filtered +# set of tests +check-TESTS: $(TESTS) |