aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/buildgen/generate_projects.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/buildgen/generate_projects.sh')
-rwxr-xr-xtools/buildgen/generate_projects.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/buildgen/generate_projects.sh b/tools/buildgen/generate_projects.sh
index c745edb797..cdea1f9319 100755
--- a/tools/buildgen/generate_projects.sh
+++ b/tools/buildgen/generate_projects.sh
@@ -40,7 +40,9 @@ cd `dirname $0`/../..
mako_renderer=tools/buildgen/mako_renderer.py
gen_build_json=test/core/end2end/gen_build_json.py
-tools/buildgen/build-cleaner.py build.json
+if [ "x$TEST" != "x" ] ; then
+ tools/buildgen/build-cleaner.py build.json
+fi
end2end_test_build=`mktemp /tmp/genXXXXXX`
$gen_build_json > $end2end_test_build