Changeset 2410 for pjproject/trunk/tests/cdash/builder.py
- Timestamp:
- Jan 2, 2009 6:15:07 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/tests/cdash/builder.py
r2405 r2410 80 80 Operation(Operation.TEST, "./pjsip-test$SUFFIX", name="pjsip test", 81 81 wdir="pjsip/bin") 82 ]83 84 #85 # These are operations to build the software on GNU/Posix systems86 #87 gnu_build_ops = [88 Operation(Operation.CONFIGURE, "sh ./configure"),89 Operation(Operation.BUILD, "sh -c 'make distclean && make dep && make && cd pjsip-apps/src/python && python setup.py clean build'"),90 #Operation(Operation.BUILD, "python setup.py clean build",91 # wdir="pjsip-apps/src/python")92 82 ] 93 83 … … 237 227 self.build_tests() 238 228 self.pre_action() 229 mandatory_op = ["update", "configure", "build"] 239 230 counter = 0 240 231 for a in self.ccdash_args: … … 262 253 a = b 263 254 #print a 264 ccdash.main(a) 255 rc = ccdash.main(a) 256 if rc!=0 and a[1] in mandatory_op: 257 print "Stopping because of error.." 258 break 265 259 counter = counter + 1 266 260 self.post_action() … … 316 310 cmds = [] 317 311 cmds.extend(update_ops) 318 cmds.extend(gnu_build_ops) 312 cmds.append(Operation(Operation.CONFIGURE, "sh ./configure")) 313 if sys.platform == "win32": 314 # Don't build python module on Mingw 315 cmds.append(Operation(Operation.BUILD, 316 "sh -c 'make distclean && make dep && make'")) 317 else: 318 cmds.append(Operation(Operation.BUILD, 319 "sh -c 'make distclean && make dep && make" + \ 320 " && cd pjsip-apps/src/python && " + \ 321 "python setup.py clean build'")) 322 319 323 cmds.extend(std_test_ops) 320 324 cmds.extend(build_pjsua_test_ops())
Note: See TracChangeset
for help on using the changeset viewer.