Commits

Anonymous committed 7edbac1

add test harness for examples

Comments (0)

Files changed (2)

 	@echo "                     This is the default."
 	@echo "Testing:"
 	@echo "  test:              Run the test suite."
+	@echo "  extest:            Run the test suite for examples."
+	@echo "  fulltest:          Run both."
 	@echo "  testclean:         Clean up test results."
 	@echo ""
 	@echo "Cleaning:"
 test: all
 	$(PERL) t/harness
 
+extest: all 
+	$(PERL) t/example_harness
+
+fulltest: all test extest
+
+
 # this target has nothing to do
 testclean:
 

t/example_harness

+#! perl
+
+# $Id$
+
+# pragmata
+use strict;
+use warnings;
+use 5.008;
+
+use lib qw( . lib ../lib ../../lib ../../lib );
+
+use Parrot::Test::Harness language => 'ruby',
+                          exec => ['ruby'],
+                          files => ['t/*.rb'];