summaryrefslogtreecommitdiff
path: root/t/01_compile.t
blob: eab165c35dee284f1db1c86e0f34cfbf1e748447 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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);
}