public
Description: Cross language RPC
Homepage: http://developers.facebook.com/thrift/
Clone URL: git://github.com/kevinclark/thrift.git
Search Repo:
 r1535@opsdev009 (orig r81090):  dreiss | 2008-02-04 13:14:14 -0800
 Thrift: "make check" support.
 
 Summary:
 Add a Makefile.am in the test directory that runs some of the test 
 programs
 when "make check" is executed.  Also removed some obsolete 
 comments.
 
 Reviewed By: mcslee
 
 Test Plan:
 Ran make check, saw all tests pass.
 Ran make install, saw no test programs installed.
 Ran ./cleanup.sh, saw a pristine workspace.
 
 Revert Plan: ok
 


git-svn-id: http://svn.facebook.com/svnroot/thrift/trunk@786 
41a61cd8-c433-0410-bb1c-e256eeef9e11
(no author) (author)
Mon Feb 04 13:14:55 -0800 2008
commit  5a1a64beee714a28873ca40dc518a7b2c9877b38
tree    3a2fc8f2f962c46e2ac63516973eadc0e8be3f5a
parent  618e562d6b246f7b498338125128453317ed8b54
...
1
2
3
 
4
5
6
...
1
2
 
3
4
5
6
0
@@ -1,6 +1,6 @@
0
 ACLOCAL_AMFLAGS = -I ./aclocal
0
 
0
-SUBDIRS = compiler/cpp lib if
0
+SUBDIRS = compiler/cpp lib if test
0
 ## Don't run make dist from a subversion working copy
0
 ## because it will pull in your .svn directories.
0
 EXTRA_DIST = bootstrap.sh cleanup.sh doc test tutorial \
...
33
34
35
36
 
 
...
33
34
35
 
36
37
0
@@ -33,4 +33,5 @@ compiler/cpp/Makefile.in \
0
 if/Makefile.in \
0
 lib/Makefile.in \
0
 lib/cpp/Makefile.in \
0
-lib/py/Makefile.in
0
+lib/py/Makefile.in \
0
+test/Makefile.in
...
106
107
108
 
109
110
111
...
106
107
108
109
110
111
112
0
@@ -106,6 +106,7 @@ AC_CONFIG_FILES([
0
   lib/cpp/thrift-z.pc
0
   lib/py/Makefile
0
   if/Makefile
0
+ test/Makefile
0
 ])
0
 
0
 AC_OUTPUT
...
1
2
3
4
5
6
7
8
9
10
11
...
 
 
 
 
 
 
 
 
1
2
3
0
@@ -1,11 +1,3 @@
0
-/*
0
-thrift -cpp DebugProtoTest.thrift
0
-g++ -Wall -g -I../lib/cpp/src -I/usr/local/include/boost-1_33_1 \
0
- DebugProtoTest.cpp gen-cpp/DebugProtoTest_types.cpp \
0
- ../lib/cpp/.libs/libthrift.a -o DebugProtoTest
0
-./DebugProtoTest
0
-*/
0
-
0
 #include <iostream>
0
 #include <cmath>
0
 #include "gen-cpp/DebugProtoTest_types.h"
...
1
2
3
4
5
6
7
8
9
10
11
...
 
 
 
 
 
 
 
 
1
2
3
0
@@ -1,11 +1,3 @@
0
-/*
0
-thrift -cpp DebugProtoTest.thrift
0
-g++ -Wall -g -I../lib/cpp/src -I/usr/local/include/boost-1_33_1 \
0
- DebugProtoTest.cpp gen-cpp/DebugProtoTest_types.cpp \
0
- ../lib/cpp/.libs/libthrift.a -o DebugProtoTest
0
-./DebugProtoTest
0
-*/
0
-
0
 cpp_namespace thrift.test
0
 
0
 struct OneOfEach {
...
1
2
3
4
5
6
7
8
9
10
11
...
 
 
 
 
 
 
 
 
1
2
3
0
@@ -1,11 +1,3 @@
0
-/*
0
-../compiler/cpp/thrift -cpp OptionalRequiredTest.thrift
0
-g++ -Wall -g -I../lib/cpp/src -I/usr/local/include/boost-1_33_1 \
0
- OptionalRequiredTest.cpp gen-cpp/OptionalRequiredTest_types.cpp \
0
- ../lib/cpp/.libs/libthrift.a -o OptionalRequiredTest
0
-./OptionalRequiredTest
0
-*/
0
-
0
 #include <cassert>
0
 #include <map>
0
 #include <iostream>
...
1
2
3
4
5
6
7
8
9
10
11
...
 
 
 
 
 
 
 
 
1
2
3
0
@@ -1,11 +1,3 @@
0
-/*
0
-../compiler/cpp/thrift -cpp OptionalRequiredTest.thrift
0
-g++ -Wall -g -I../lib/cpp/src -I/usr/local/include/boost-1_33_1 \
0
- OptionalRequiredTest.cpp gen-cpp/OptionalRequiredTest_types.cpp \
0
- ../lib/cpp/.libs/libthrift.a -o OptionalRequiredTest
0
-./OptionalRequiredTest
0
-*/
0
-
0
 cpp_namespace thrift.test
0
 
0
 struct OldSchool {
...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
...
 
 
 
 
 
 
 
 
 
 
 
1
2
3
0
@@ -1,14 +1,3 @@
0
-/*
0
-../compiler/cpp/thrift -cpp DebugProtoTest.thrift
0
-../compiler/cpp/thrift -cpp StressTest.thrift
0
-g++ -Wall -I../lib/cpp/src -I/usr/local/include/boost-1_33_1 \
0
- ReflectionTest.cpp \
0
- gen-cpp/StressTest_types.cpp gen-cpp/DebugProtoTest_types.cpp \
0
- gen-cpp/Service.cpp gen-cpp/PartiallyReflectable.cpp \
0
- ../lib/cpp/.libs/libthrift.a -o ReflectionTest
0
-./ReflectionTest
0
-*/
0
-
0
 #include <iostream>
0
 #include "gen-cpp/PartiallyReflectable.h"
0
 #include "gen-cpp/Service.h"

Comments

    No one has commented yet.