- source files and Makefiles need never be executable - scripts are run directly by their interpreters in the test suites, so also do not need to be executable
14 lines
278 B
Perl
14 lines
278 B
Perl
#!/usr/bin/perl
|
|
use strict;
|
|
use warnings;
|
|
use Test::More tests => 6;
|
|
BEGIN { use_ok('preproc') }
|
|
require_ok('preproc');
|
|
|
|
# adapted from ../python/preproc_runme.py
|
|
|
|
is($preproc::endif, 1);
|
|
is($preproc::define, 1);
|
|
is($preproc::defined, 1);
|
|
is($preproc::one * 2, $preproc::two);
|
|
|