summaryrefslogtreecommitdiff
path: root/bindings/swig/perl/test.pl
diff options
context:
space:
mode:
Diffstat (limited to 'bindings/swig/perl/test.pl')
-rw-r--r--bindings/swig/perl/test.pl17
1 files changed, 17 insertions, 0 deletions
diff --git a/bindings/swig/perl/test.pl b/bindings/swig/perl/test.pl
new file mode 100644
index 0000000..b93986f
--- /dev/null
+++ b/bindings/swig/perl/test.pl
@@ -0,0 +1,17 @@
+# Before `make install' is performed this script should be runnable with
+# `make test'. After `make install' it should work as `perl test.pl'
+
+#########################
+
+# change 'tests => 1' to 'tests => last_test_to_print';
+
+use Test;
+BEGIN { plan tests => 1 };
+use Sword;
+ok(1); # If we made it this far, we're ok.
+
+#########################
+
+# Insert your test code below, the Test module is use()ed here so read
+# its man page ( perldoc Test ) for help writing this test script.
+