Cmake:
- adapted makefile and unit tests to new place of test dir
This commit is contained in:
@@ -40,12 +40,12 @@ if (open my $fh, '>', 'recur.rc')
|
||||
|
||||
# Add a recurring task, then see how many future pending tasks are
|
||||
# generated by default, and by overriding rc.recurrence.limit.
|
||||
qx{../task rc:recur.rc add ONE due:tomorrow recur:weekly};
|
||||
my $output = qx{../task rc:recur.rc long};
|
||||
qx{../src/task rc:recur.rc add ONE due:tomorrow recur:weekly};
|
||||
my $output = qx{../src/task rc:recur.rc long};
|
||||
my @tasks = $output =~ /(ONE)/g;
|
||||
is (scalar @tasks, 1, 'recurrence.limit default to 1');
|
||||
|
||||
$output = qx{../task rc:recur.rc rc.recurrence.limit:4 long};
|
||||
$output = qx{../src/task rc:recur.rc rc.recurrence.limit:4 long};
|
||||
@tasks = $output =~ /(ONE)/g;
|
||||
is (scalar @tasks, 4, 'recurrence.limit override to 4');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user