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 | fb41b4c0a7678b11f5544ae018931a5585d1f2a9 (patch) | |
tree | bb4253d0d429e67886cc755ef4271302853f768f /tests/run_tests.sh | |
parent | 338b04e5512fc1b15f654def00080a53499930ce (diff) | |
download | ATCD-fb41b4c0a7678b11f5544ae018931a5585d1f2a9.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/run_tests.sh')
-rwxr-xr-x | tests/run_tests.sh | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/tests/run_tests.sh b/tests/run_tests.sh index e0419abacb1..c978a86e78b 100755 --- a/tests/run_tests.sh +++ b/tests/run_tests.sh @@ -107,11 +107,14 @@ if [ ! "$chorus" ]; then start_test_resources=`ipcs | egrep $user` fi # ! chorus +ACE_BUILD_COMPONENTS=`$ACE_ROOT/bin/ace_components --ace` +OTHER=`echo $ACE_BUILD_COMPONENTS | egrep ' Other '` +TOKEN=`echo $ACE_BUILD_COMPONENTS | egrep ' Token '` + echo "Starting ACE version $ace_version tests . . ." mv -f "$compilation_log" "$compilation_log.bak" > /dev/null 2>&1 - run Basic_Types_Test test $chorus || run Env_Value_Test # tests Env_Value_T and Process run Atomic_Op_Test # tests Atomic_Op @@ -125,7 +128,8 @@ run SString_Test # tests ACE_CString and ACE_SString run Collection_Test # tests ACE Collection classes test $chorus || test $LynxOS || test $Unicos || run DLL_Test # tests ACE_DLL class # Naming_Test: UNICOS fails due to feature not supported -test $chorus || test $LynxOS || test $Unicos || run Naming_Test # tests ACE_Naming_Context, ACE_WString +test $OTHER && \ + (test $chorus || test $LynxOS || test $Unicos || run Naming_Test) # tests ACE_Naming_Context, ACE_WString run Handle_Set_Test # tests ACE_Handle_Set run OrdMultiSet_Test # tests ACE_Ordered_MultiSet @@ -154,7 +158,7 @@ run Reactors_Test # tests ACE_Task, ACE_Mutex, ACE_Reactor run Reactor_Exceptions_Test # tests ACE_Reactor and C++ exceptions run Reactor_Notify_Test # tests ACE_Reactor's notify() method, ACE_Task run Reactor_Timer_Test # tests ACE_Event_Handler, ACE_Reactor -# run Thread_Pool_Reactor_Test # tests ACE_TP_Reactor, ACE_Select_Reactor, ACE_Acceptor... +# test $OTHER && run Thread_Pool_Reactor_Test # tests ACE_TP_Reactor, ACE_Select_Reactor, ACE_Acceptor... test $chorus || test $LynxOS || run Reactor_Performance_Test # tests ACE_Event_Handler, ACE_Reactor run Notify_Performance_Test # tests ACE_Event_Handler, ACE_Reactor run Reader_Writer_Test # tests ACE_Thread_Manager, ACE_Mutex @@ -174,10 +178,10 @@ run Recursive_Mutex_Test # tests ACE_Service_Config, ACE_Recursiv # Time_Service_Test: UNICOS fails dlopen() - no shared libs on UNICOS if [ -f ../netsvcs/servers/main ]; then - test $chorus || test $LynxOS || test $Unicos || run Time_Service_Test # tests libnetsvcs + test $TOKEN && (test $chorus || test $LynxOS || test $Unicos || run Time_Service_Test) # tests libnetsvcs fi # Tokens_Test: UNICOS fails dlopen() - no shared libs on UNICOS -test $chorus || test $LynxOS || test $Unicos || run Tokens_Test # tests ACE_Token +test $TOKEN && (test $chorus || test $LynxOS || test $Unicos || run Tokens_Test) # tests ACE_Token run Map_Manager_Test # tests ACE_Map Manager and ACE_Hash_Map_Manager + Forward and Reverse Map Iterators. run Map_Test # tests ACE_Map + Forward and Reverse Map Iterators. |