perl fixes:
- generate Makfile for perl tests
- add inc path to test
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1229745 13f79535-47bb-0310-9956-
ffa450edef68
/test/log/
/test/test.log
/test/perl/gen-*
+/test/perl/Makefile
+/test/perl/Makefile.in
/test/php/gen-*
/test/py/Makefile
/test/py/Makefile.in
test/Makefile
test/cpp/Makefile
test/hs/Makefile
+ test/perl/Makefile
test/py/Makefile
test/py.twisted/Makefile
test/rb/Makefile
# under the License.
#
-# Default target is everything
-target: all
+THRIFT = $(top_srcdir)/compiler/cpp/thrift
-# Tools
-THRIFT = ../../compiler/cpp/thrift
-
-all: ../ThriftTest.thrift
+stubs: ../ThriftTest.thrift
$(THRIFT) --gen perl ../ThriftTest.thrift
-clean:
+check: stubs
+
+clean-local:
$(RM) -r gen-perl
+
"cpp/TestServer" \
"10"
do_test "perl-cpp" "binary" "buffered-ip" \
- "perl -I perl/gen-perl/ perl/TestClient.pl" \
+ "perl -I perl/gen-perl/ -I../lib/perl/lib/ perl/TestClient.pl" \
"cpp/TestServer" \
"10"