From ec6fe9f2007a0400a441b79c89bced5727589ba9 Mon Sep 17 00:00:00 2001 From: Solomon Hykes Date: Mon, 11 Nov 2013 18:56:21 +0000 Subject: [PATCH] Hack: set NONUKE environment variable to run the tests without cleanup, to investigate temp directories --- runtime_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/runtime_test.go b/runtime_test.go index e61f63d495..a3b3d35bea 100644 --- a/runtime_test.go +++ b/runtime_test.go @@ -36,6 +36,9 @@ var ( ) func nuke(runtime *Runtime) error { + if nonuke := os.Getenv("NONUKE"); nonuke != "" { + return nil + } var wg sync.WaitGroup for _, container := range runtime.List() { wg.Add(1)