Unit Tests

- Eliminated obsolete benchmark.t.
- Removed the 'quick' mode logic to skip benchmarks in run_all.
- Restored bug.480.t tests that hung earlier.
This commit is contained in:
Paul Beckingham
2011-08-21 01:09:32 -04:00
parent 7aa4efef8d
commit 1b55a48757
4 changed files with 8 additions and 132 deletions

View File

@@ -44,8 +44,8 @@ qx{../src/task rc:sorting.rc add priority:H project:A due:yesterday one};
qx{../src/task rc:sorting.rc add priority:M project:B due:today two};
qx{../src/task rc:sorting.rc add priority:L project:C due:tomorrow three};
qx{../src/task rc:sorting.rc add priority:H project:C due:today four};
qx{../src/task rc:sorting.rc 2 start};
#diag (qx{../src/task rc:sorting.rc list});
my %tests =
(
@@ -170,8 +170,6 @@ my %tests =
for my $sort (sort keys %tests)
{
my $output = qx{../src/task rc:sorting.rc rc.report.list.sort:${sort} list};
# like ($output, qr/$tests{$sort}/ms, "sort:${sort}");
for my $expectation (@{$tests{$sort}})
{
like ($output, qr/$expectation/ms, "sort:${sort}");