Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Make test not depend on make install; Win32 fix.
Since we often run "make spectest" before "make install", relying on
"lib" being installed somewhere already is wrong. Also, the usual
line-ending tweak for making the test happy on Windows.
  • Loading branch information
jnthn committed Oct 3, 2014
1 parent 08ef117 commit e5c5288
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions integration/advent2012-day06.t
Expand Up @@ -32,9 +32,10 @@ my $main = q:to"END-MAIN";
}
END-MAIN

is_run $main, {out => "Duplicate hrmov\n", err => ''}, :args['Duplicate character removal'], 'normal main call';
is_run $main, {out => "Duplicate hrmov\n", err => ''}, :args['Duplicate character removal'], :compiler-args['-Ilib'],
'normal main call';

is_run $main, {out => q:to"END-TEST-OUT", err => ''}, :args['--test'], 'test main call';
is_run $main, {out => q:to"END-TEST-OUT".subst("\r", "", :g), err => ''}, :args['--test'], :compiler-args['-Ilib'], 'test main call';
1..2
ok 1 - basic deduplication
ok 2 - case insensitivity
Expand Down

0 comments on commit e5c5288

Please sign in to comment.