[Jifty-commit] r1294 - in jifty/trunk: lib/Jifty
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Wed Jun 14 20:50:18 EDT 2006
Author: alexmv
Date: Wed Jun 14 20:50:17 2006
New Revision: 1294
Modified:
jifty/trunk/ (props changed)
jifty/trunk/META.yml
jifty/trunk/lib/Jifty/Test.pm
Log:
r13957 at zoq-fot-pik: chmrr | 2006-06-14 20:50:14 -0400
* Make sure that the temp file doesn't go out of scope until the end
of the tests
Modified: jifty/trunk/META.yml
==============================================================================
--- jifty/trunk/META.yml (original)
+++ jifty/trunk/META.yml Wed Jun 14 20:50:17 2006
@@ -70,4 +70,4 @@
perl: 5.8.3
version: 0
tests: t/*.t t/*/t/*.t
-version: 0.60507
+version: 0.60714
Modified: jifty/trunk/lib/Jifty/Test.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Test.pm (original)
+++ jifty/trunk/lib/Jifty/Test.pm Wed Jun 14 20:50:17 2006
@@ -38,6 +38,7 @@
Jifty::YAML::DumpFile($test_config, $class->test_config(Jifty::Config->new));
# Invoking bin/jifty and friends will now have the test config ready.
$ENV{'JIFTY_TEST_CONFIG'} ||= $test_config;
+ Jifty::Test->builder->{test_config} = $test_config;
{
# Cache::Memcached stores things. And doesn't let them
# expire from the cache easily. This is fine in production,
@@ -203,6 +204,9 @@
Log::Log4perl->get_logger("SchemaTool")->more_logging(3);
}
}
+
+ # Unlink test file
+ undef $Test->{test_config} if $Test->{test_config};
}
1;
More information about the Jifty-commit
mailing list