diff options
author | Adam Mitz <mitza@ociweb.com> | 2015-11-10 15:24:40 -0600 |
---|---|---|
committer | Adam Mitz <mitza@ociweb.com> | 2015-11-10 15:24:40 -0600 |
commit | cfe7407383a7e6d2ebe0d62b30a72f3dc5371cd0 (patch) | |
tree | a720ac1f56004ed2d474f82751d923c3e62d0689 /ACE | |
parent | a0ba0ac4bce4a104064772b4545eb05edeeb52a3 (diff) | |
download | ATCD-cfe7407383a7e6d2ebe0d62b30a72f3dc5371cd0.tar.gz |
Updated ACE tests for FACE safety profiles.
Diffstat (limited to 'ACE')
-rw-r--r-- | ACE/tests/.gitignore | 19 | ||||
-rw-r--r-- | ACE/tests/Bug_4189_Regression_Test.cpp | 2 | ||||
-rw-r--r-- | ACE/tests/Process_Test.cpp | 3 | ||||
-rw-r--r-- | ACE/tests/TSS_Static_Test.cpp | 1 |
4 files changed, 25 insertions, 0 deletions
diff --git a/ACE/tests/.gitignore b/ACE/tests/.gitignore index 702741d6897..2cdfb6555b6 100644 --- a/ACE/tests/.gitignore +++ b/ACE/tests/.gitignore @@ -171,25 +171,32 @@ /Priority_Buffer_Test /Priority_Reactor_Test /Priority_Task_Test +/Proactor_File_Test /Proactor_Scatter_Gather_Test /Proactor_Test /Proactor_Test_IPV6 /Proactor_Timer_Test +/Proactor_UDP_Test +/Process_Env_Test /Process_Manager_Test /Process_Manual_Event_Test /Process_Mutex_Test /Process_Semaphore_Test /Process_Strategy_Test +/Process_Test /QtReactor_Test /QtReactor_Test_moc.cpp /RB_Tree_Test /Reactor_Dispatch_Order_Test +/Reactor_Dispatch_Order_Test_Dev_Poll /Reactor_Exceptions_Test /Reactor_Fairness_Test /Reactor_Notification_Queue_Test /Reactor_Notify_Test /Reactor_Performance_Test /Reactor_Registration_Test +/Reactor_Remove_Resume_Test +/Reactor_Remove_Resume_Test_Dev_Poll /Reactor_Timer_Test /Reactors_Test /Reader_Writer_Test @@ -197,14 +204,19 @@ /Recursive_Condition_Test /Recursive_Mutex_Test /Refcounted_Auto_Ptr_Test +/Refcounted_Event_Handler_Test_DevPoll /Reference_Counted_Event_Handler_Test /Reverse_Lock_Test +/RW_Process_Mutex_Test /Semaphore_Test /Sendfile_Test +/Service_Config_Stream_Test /Service_Config_Test +/Sig_Handlers_Test /Signal_Test /Sigset_Ops_Test /Simple_Message_Block_Test +/Singleton_Test /SOCK_Connector_Test /SOCK_Dgram_Bcast_Test /SOCK_Dgram_Test @@ -216,18 +228,23 @@ /SOCK_Test_IPv6 /SPIPE_Test /SString_Test +/Stack_Trace_Test /SV_Shared_Memory_Test /Svc_Handler_Test /Task_Ex_Test +/Task_Group_Test /Task_Test +/Task_Wait_Test /test.reg /testConfig.ini +/Thread_Attrs_Test /Thread_Creation_Threshold_Test /Thread_Manager_Test /Thread_Mutex_Test /Thread_Pool_Reactor_Resume_Test /Thread_Pool_Reactor_Test /Thread_Pool_Test +/Thread_Timer_Queue_Adapter_Test /Time_Service_Test /Time_Value_Test /Timeprobe_Test @@ -245,9 +262,11 @@ /UnloadLibACE /Upgradable_RW_Test /UPIPE_SAP_Test +/UUID_Test /UUIDTest /Vector_Test /WFMO_Reactor_Test +/Wild_Match_Test /XtAthenaReactor_Test /XtMotifReactor_Test /XtReactor_Test diff --git a/ACE/tests/Bug_4189_Regression_Test.cpp b/ACE/tests/Bug_4189_Regression_Test.cpp index 79c1862a47e..e55f3fa52f7 100644 --- a/ACE/tests/Bug_4189_Regression_Test.cpp +++ b/ACE/tests/Bug_4189_Regression_Test.cpp @@ -27,6 +27,7 @@ const int SEC_TO_KEEP_SOCKET_OPEN = 2; int reuseAddr_test (void) { +# if defined ACE_WIN32 || !defined ACE_LACKS_IOCTL ACE_SOCK_Dgram_Bcast sock1; if (sock1.open(ACE_INET_Addr(UDP_PORT),PF_INET,0,1) != 0) { @@ -42,6 +43,7 @@ int reuseAddr_test (void) sock1.close(); } +# endif return result; } diff --git a/ACE/tests/Process_Test.cpp b/ACE/tests/Process_Test.cpp index d3c0cb61b7b..da9ff2cd495 100644 --- a/ACE/tests/Process_Test.cpp +++ b/ACE/tests/Process_Test.cpp @@ -35,11 +35,13 @@ test_setenv (void) for (int i = 0; i < 100; ++i) ACE_OS::strcat (bigval, ACE_TEXT ("01234567890123456789012345678901234567890123456789")); +#ifndef ACE_LACKS_VA_FUNCTIONS # if !defined (ACE_WIN32) && defined (ACE_USES_WCHAR) const ACE_TCHAR *fmt = ACE_TEXT ("%ls"); # else const ACE_TCHAR *fmt = ACE_TEXT ("%s"); # endif + if (0 != opts.setenv (ACE_TEXT ("A"), fmt, bigval)) { status = errno; @@ -56,6 +58,7 @@ test_setenv (void) env_len)); } } +#endif return status; } diff --git a/ACE/tests/TSS_Static_Test.cpp b/ACE/tests/TSS_Static_Test.cpp index 64596f3b92a..8a3aef6f659 100644 --- a/ACE/tests/TSS_Static_Test.cpp +++ b/ACE/tests/TSS_Static_Test.cpp @@ -16,6 +16,7 @@ #include "test_config.h" #include "ace/ACE.h" +#include "ace/Init_ACE.h" #include "ace/Thread.h" |