diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-03-19 16:53:24 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-03-19 16:53:24 +0000 |
commit | e352b95b5b40f9544d861a698d8918064b1edd6e (patch) | |
tree | bb4253d0d429e67886cc755ef4271302853f768f /tests/Makefile | |
parent | afb55fb458f216cdc07c1c4fbe9ddc46fb14b83c (diff) | |
download | ATCD-e352b95b5b40f9544d861a698d8918064b1edd6e.tar.gz |
use ace_components to record which components are in the ACE library, and then not build/run tests that use Token and Other
Diffstat (limited to 'tests/Makefile')
-rw-r--r-- | tests/Makefile | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/tests/Makefile b/tests/Makefile index fd20db54e59..4a2286ecb40 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -36,7 +36,6 @@ BIN = Aio_Platform_Test \ Message_Block_Test \ Message_Queue_Test \ Message_Queue_Notifications_Test \ - Naming_Test \ Notify_Performance_Test \ Process_Mutex_Test \ Process_Strategy_Test \ @@ -65,23 +64,33 @@ BIN = Aio_Platform_Test \ Task_Test \ Thread_Manager_Test \ Thread_Mutex_Test \ - Thread_Pool_Reactor_Test \ Thread_Pool_Test \ Timeprobe_Test \ Time_Service_Test \ Time_Value_Test \ Timer_Queue_Test \ - Tokens_Test \ TSS_Test \ UPIPE_SAP_Test \ - Upgradable_RW_Test \ - XtReactor_Test + Upgradable_RW_Test #---------------------------------------------------------------------------- # Include macros and targets #---------------------------------------------------------------------------- include $(ACE_ROOT)/include/makeinclude/wrapper_macros.GNU + +#### If the ACE library wasn't built with all components, don't +#### try to build certain tests. +ACE_BUILD_COMPONENTS := $(shell $(ACE_ROOT)/bin/ace_components --ace) +ifeq (Other,$(findstring Other,$(ACE_BUILD_COMPONENTS))) + BIN += Naming_Test \ + Thread_Pool_Reactor_Test \ + XtReactor_Test +endif # ! Other +ifeq (Token,$(findstring Token,$(ACE_COMPONENTS))) + BIN += Tokens_Test +endif # ! Token + include $(ACE_ROOT)/include/makeinclude/macros.GNU include $(ACE_ROOT)/include/makeinclude/rules.common.GNU include $(ACE_ROOT)/include/makeinclude/rules.nonested.GNU |