[rtems-tools commit] bsp-builder: Do not clean the build space when starting with --no-clean

Chris Johns chrisj at rtems.org
Wed Sep 4 23:51:09 UTC 2019


Module:    rtems-tools
Branch:    master
Commit:    128ee7b7ec58c9b74d8b19475e70dce8c6cb477f
Changeset: http://git.rtems.org/rtems-tools/commit/?id=128ee7b7ec58c9b74d8b19475e70dce8c6cb477f

Author:    Chris Johns <chrisj at rtems.org>
Date:      Wed Sep  4 10:21:09 2019 +1000

bsp-builder: Do not clean the build space when starting with --no-clean

---

 tester/rt/check.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tester/rt/check.py b/tester/rt/check.py
index 3bb24e3..c7f6c23 100755
--- a/tester/rt/check.py
+++ b/tester/rt/check.py
@@ -1020,7 +1020,7 @@ class builder:
         self._failures_report()
 
     def run_jobs(self, jobs):
-        if path.exists(self.build_dir):
+        if path.exists(self.build_dir) and not self.options['no-clean']:
             log.notice('Cleaning: %s' % (self.build_dir))
             path.removeall(self.build_dir)
         self.start = _now()



More information about the vc mailing list