1. Herbert Breunung
  2. Kephra

Commits

Herbert Breunung  committed 9488b33

moved diag message so when something wrong with main module it will not surpressed by NoWarnings

  • Participants
  • Parent commits 65376f1
  • Branches default

Comments (0)

Files changed (2)

File t/000-init.t

View file
  • Ignore whitespace
 BEGIN { unshift @INC, -d 't' ? 'lib' : '../lib' }
 
 use Test::More tests => 3;
-#use Test::Script;
 use Test::NoWarnings;
 
-diag( "Testing Kephra $Kephra::VERSION, Perl $], $^X" );
+
 ok( $] >= 5.006, 'Your perl is new enough' );
 use_ok( 'Kephra', 'main module compiles' );
 
-# please help me to make this run !
+# TODO:
+#use Test::Script;
 #script_compiles( 'bin/kephra', 'Main script compiles' );
 #script_runs( 'bin/kephra', 'Main script compiles' );
 
-exit(0);
+exit(0);

File t/001-compile.t

View file
  • Ignore whitespace
 use File::Find;
 use Kephra;
 
+diag( "Testing Kephra $Kephra::VERSION, Perl $], $^X" );
+
 my @modules = (
     @Kephra::external_dependencies, 
     @Kephra::used_wx_modules, 
     return \@kephra_modules;
 }
 
-exit(0);
+exit(0);