Move Thrift StressTest code into test top-level folder
authorMark Slee <mcslee@apache.org>
Wed, 30 Aug 2006 17:23:52 +0000 (17:23 +0000)
committerMark Slee <mcslee@apache.org>
Wed, 30 Aug 2006 17:23:52 +0000 (17:23 +0000)
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@664770 13f79535-47bb-0310-9956-ffa450edef68

test/StressTest.thrift [moved from lib/cpp/src/test/StressTest.thrift with 100% similarity]
test/cpp/Makefile.stress [moved from lib/cpp/src/test/Makefile with 83% similarity]
test/cpp/Makefile.thrift [moved from test/cpp/Makefile with 100% similarity]
test/cpp/src/main.cc [moved from lib/cpp/src/test/main.cc with 100% similarity]

similarity index 83%
rename from lib/cpp/src/test/Makefile
rename to test/cpp/Makefile.stress
index 9b15095..2190cc3 100644 (file)
@@ -38,13 +38,13 @@ all: stress-test
 debug: stress-test-debug
 
 stubs: StressTest.thrift
-       $(THRIFT) --cpp --php StressTest.thrift
+       $(THRIFT) --cpp --php ../StressTest.thrift
 
 stress-test-debug: stubs
-       g++ -o stress-test $(DCFL) main.cc cpp-gen/StressTest.cc
+       g++ -o stress-test $(DCFL) src/main.cc cpp-gen/StressTest.cc
 
 stress-test: stubs
-       g++ -o stress-test $(CFL) main.cc cpp-gen/StressTest.cc
+       g++ -o stress-test $(CFL) src/main.cc cpp-gen/StressTest.cc
 
 clean:
        rm -fr stress-test cpp-gen
similarity index 100%
rename from test/cpp/Makefile
rename to test/cpp/Makefile.thrift