diff options
author | Oliver Kellogg <okellogg@users.sourceforge.net> | 2018-01-19 21:43:43 +0100 |
---|---|---|
committer | Oliver Kellogg <okellogg@users.sourceforge.net> | 2018-01-19 21:43:43 +0100 |
commit | a2f4310d1beb46927e396cbfb1f563abf390eb8f (patch) | |
tree | 38b08651efb42d026b413eeddeba6e141c31ebcf | |
parent | 03d17e659f4f382c02101a6ded30c76c3ebec334 (diff) | |
download | ATCD-a2f4310d1beb46927e396cbfb1f563abf390eb8f.tar.gz |
Follow suggestion by mitza-oci at
https://github.com/DOCGroup/ACE_TAO/pull/565 :
> Since it's a compile-only test, it shouldn't need a run_test.pl or a
> test.cpp (build a library instead of an executable).
TAO/tests/Bug_3940_Regression/Bug_3940_Regression.mpc
- Change superproject to taolib_with_idl.
- Remove exename and Source_Files.
TAO/tests/Bug_3940_Regression/test.cpp
TAO/tests/Bug_3940_Regression/run_test.pl
- Remove files.
-rw-r--r-- | TAO/tests/Bug_3940_Regression/Bug_3940_Regression.mpc | 7 | ||||
-rwxr-xr-x | TAO/tests/Bug_3940_Regression/run_test.pl | 21 | ||||
-rw-r--r-- | TAO/tests/Bug_3940_Regression/test.cpp | 6 |
3 files changed, 1 insertions, 33 deletions
diff --git a/TAO/tests/Bug_3940_Regression/Bug_3940_Regression.mpc b/TAO/tests/Bug_3940_Regression/Bug_3940_Regression.mpc index 270fd380329..92fc577565c 100644 --- a/TAO/tests/Bug_3940_Regression/Bug_3940_Regression.mpc +++ b/TAO/tests/Bug_3940_Regression/Bug_3940_Regression.mpc @@ -1,8 +1,3 @@ // -*- MPC -*- -project(*Test) : taoserver { - exename = test3940 - - Source_Files { - test.cpp - } +project (test3940) : taolib_with_idl { } diff --git a/TAO/tests/Bug_3940_Regression/run_test.pl b/TAO/tests/Bug_3940_Regression/run_test.pl deleted file mode 100755 index f79da31fcc7..00000000000 --- a/TAO/tests/Bug_3940_Regression/run_test.pl +++ /dev/null @@ -1,21 +0,0 @@ -eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}' - & eval 'exec perl -S $0 $argv:q' - if 0; - -# -*- perl -*- - -use lib "$ENV{ACE_ROOT}/bin"; -use PerlACE::TestTarget; - -my $server = PerlACE::TestTarget::create_target (1) || die "Create target 1 failed\n"; - -$SV = $server->CreateProcess ("test3940"); - -$test = $SV->SpawnWaitKill ($server->ProcessStartWaitInterval()); - -if ($test != 0) { - print STDERR "ERROR: test returned $test\n"; - exit 1; -} - -exit 0; diff --git a/TAO/tests/Bug_3940_Regression/test.cpp b/TAO/tests/Bug_3940_Regression/test.cpp deleted file mode 100644 index 8b471079b63..00000000000 --- a/TAO/tests/Bug_3940_Regression/test.cpp +++ /dev/null @@ -1,6 +0,0 @@ -#include "testS.h" - -int ACE_TMAIN (int, ACE_TCHAR *[]) -{ - return 0; -} |