[rkward-cvs] SF.net SVN: rkward:[2568] trunk/rkward/tests/test_framework.R
tfry at users.sourceforge.net
tfry at users.sourceforge.net
Mon Jul 20 18:21:28 UTC 2009
Revision: 2568
http://rkward.svn.sourceforge.net/rkward/?rev=2568&view=rev
Author: tfry
Date: 2009-07-20 18:21:28 +0000 (Mon, 20 Jul 2009)
Log Message:
-----------
Fix failure to sync object list before first test-run in a suite
Modified Paths:
--------------
trunk/rkward/tests/test_framework.R
Modified: trunk/rkward/tests/test_framework.R
===================================================================
--- trunk/rkward/tests/test_framework.R 2009-07-20 17:54:12 UTC (rev 2567)
+++ trunk/rkward/tests/test_framework.R 2009-07-20 18:21:28 UTC (rev 2568)
@@ -201,6 +201,7 @@
if (length (suite at initCalls) > 0) {
for (i in 1:length (suite at initCalls)) try (suite at initCalls[[i]]())
}
+ rk.sync.global () # objects might have been added/changed in the init calls
for (i in 1:length (suite at tests)) {
try (res <- rktest.runRKTest(suite at tests[[i]]))
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the rkward-tracker
mailing list