Skip to content

Instantly share code, notes, and snippets.

@mpeters
Created March 30, 2009 11:00
Show Gist options
  • Save mpeters/87738 to your computer and use it in GitHub Desktop.
Save mpeters/87738 to your computer and use it in GitHub Desktop.
Index: Build.pm
===================================================================
--- Build.pm (revision 910)
+++ Build.pm (working copy)
@@ -66,6 +66,10 @@
$ENV{SMOLDER_CONF} = $tmp_conf->filename;
$ENV{SMOLDER_TEST_HARNESS_ARCHIVE} = 1;
+ # make sure we create a DB first. Smolder will do this when it starts,
+ # but we still want to run some tests even if we fail to start smolder
+ $self->depends_on('db');
+
# start the smolder server
my ($in, $out, $err);
my $subprocess = start(["$cwd/bin/smolder"], \$in, \$out, \$err);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment