Cmake:
- adapted makefile and unit tests to new place of test dir
This commit is contained in:
@@ -57,13 +57,13 @@ if (open my $fh, '>', 'hook')
|
||||
ok (-r 'hook', 'Created hook');
|
||||
}
|
||||
|
||||
my $output = qx{../task rc:hook.rc version};
|
||||
my $output = qx{../src/task rc:hook.rc version};
|
||||
if ($output =~ /PUC-Rio/)
|
||||
{
|
||||
qx{../task rc:hook.rc add foo pri:H};
|
||||
qx{../task rc:hook.rc add bar pri:M};
|
||||
qx{../task rc:hook.rc add baz pri:L};
|
||||
$output = qx{../task rc:hook.rc ls};
|
||||
qx{../src/task rc:hook.rc add foo pri:H};
|
||||
qx{../src/task rc:hook.rc add bar pri:M};
|
||||
qx{../src/task rc:hook.rc add baz pri:L};
|
||||
$output = qx{../src/task rc:hook.rc ls};
|
||||
|
||||
like ($output, qr/Hi\s+foo/, 'format-priority hook H -> Hi');
|
||||
like ($output, qr/Me\s+bar/, 'format-priority hook M -> Me');
|
||||
|
||||
Reference in New Issue
Block a user