Commits

Carsten Senger  committed a9d31fb

Halt build on failures in requred steps. Remove distclean.

* Halt the build on errors in configure, make or the
benchmark runner.
* Add the `make buildbottest` step again and mark the build as having
warnings if it fails.
* Remove distclean so we can inspect the build when problems occure.

  • Participants
  • Parent commits dff1859

Comments (0)

Files changed (1)

File bot2/pypybuildbot/builds.py

         self.addStep(ShellCmd(
             description="configure cpython",
             command=["./configure"],
-            timeout=300))
+            timeout=300,
+            haltOnFailure=True))
 
         self.addStep(ShellCmd(
             description="cleanup cpython",
         self.addStep(ShellCmd(
             description="make cpython",
             command=["make"],
+            timeout=600,
+            haltOnFailure=True))
+
+        self.addStep(ShellCmd(
+            description="test cpython",
+            command=["make", "buildbottest"],
+            haltOnFailure=False,
+            warnOnFailure=True,
             timeout=600))
 
-        # self.addStep(ShellCmd(
-        #     description="test cpython",
-        #     command=["make", "buildbottest"],
-        #     haltOnFailure=False,
-        #     timeout=600))
-
         cpython_interpreter = '../build/python'
         self.addStep(ShellCmd(
             # this step needs exclusive access to the CPU
                      '--baseline', cpython_interpreter,
                      ],
             workdir='./benchmarks',
+            haltOnFailure=True,
             timeout=3600))
 
         # a bit obscure hack to get both os.path.expand and a property
         self.addStep(transfer.FileUpload(slavesrc="benchmarks/result.json",
                                          masterdest=WithProperties(resultfile),
                                          workdir="."))
-
-        self.addStep(ShellCmd(
-            description="distcleanup cpython",
-            command=["make", "distclean"],
-            timeout=300))