diff options
Diffstat (limited to 't/01_compile.t')
-rw-r--r-- | t/01_compile.t | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/t/01_compile.t b/t/01_compile.t new file mode 100644 index 0000000..eab165c --- /dev/null +++ b/t/01_compile.t @@ -0,0 +1,23 @@ +#!/usr/bin/perl + +# Test that everything compiles, so the rest of the test suite can +# load modules without having to check if it worked. + +use strict; +BEGIN { + $| = 1; + $^W = 1; +} + +use Test::More tests => 3; + +use_ok('DBI'); +use_ok('DBD::SQLite'); +use_ok('t::lib::Test'); + +diag("\$DBI::VERSION=$DBI::VERSION"); + +if (my @compile_options = DBD::SQLite::compile_options()) { + diag("Compile Options:"); + diag(join "", map { " $_\n" } @compile_options); +} |