Megatest

Changes On Branch b2aa3b855980bb1b
Login

Changes In Branch archiving Through [b2aa3b8559] Excluding Merge-Ins

This is equivalent to a diff from 12a41bff5e to b2aa3b8559

2014-12-02
23:56
Merging archiving back to trunk check-in: ab10662391 user: matt tags: v1.60
2014-12-01
13:54
Merged v1.60 into multi-transport check-in: 1888a270be user: mrwellan tags: multi-transport
2014-11-30
22:30
Moved tasks_queue into main.db check-in: 5af4229eb4 user: matt tags: archiving
13:02
Merging in v1.60 check-in: b2aa3b8559 user: matt tags: archiving
12:44
Bring v1.60 back to trunk check-in: 2f9676f58c user: matt tags: trunk
12:37
Merged v1.60 into old dev branch Closed-Leaf check-in: 61fd6d3c06 user: matt tags: dev
12:19
Merged ABORT changes check-in: 12a41bff5e user: matt tags: v1.60
09:53
Merged fix for get-tests-for-run(s) check-in: c8184e551e user: matt tags: v1.60
08:04
Archiving check-in: 5ab4109044 user: matt tags: archiving
2014-01-09
11:06
first change for ABORT Closed-Leaf check-in: 19d75f5d3d user: marasaia tags: add-abort-support

Modified db.scm from [cbd895f712] to [76cec30135].

323
324
325
326
327
328
329
330
331

332
333
334
335
336
337
338
	(if (or (not (number? mtime))
		(not (number? stime))
		(> mtime stime)
		force-sync)
	    (begin
	      (db:delay-if-busy rundb)
	      (db:delay-if-busy olddb)
	      (let ((num-synced (db:sync-tables db:sync-tests-only inmem refdb rundb olddb)))
		(dbr:dbstruct-set-stime! dbstruct (current-milliseconds))

		(mutex-unlock! *http-mutex*)
		num-synced)
	      (begin
		(mutex-unlock! *http-mutex*)
		0))))))

(define (db:close-main dbstruct)







<
|
>







323
324
325
326
327
328
329

330
331
332
333
334
335
336
337
338
	(if (or (not (number? mtime))
		(not (number? stime))
		(> mtime stime)
		force-sync)
	    (begin
	      (db:delay-if-busy rundb)
	      (db:delay-if-busy olddb)

	      (dbr:dbstruct-set-stime! dbstruct (current-milliseconds))
	      (let ((num-synced (db:sync-tables db:sync-tests-only inmem refdb rundb olddb)))
		(mutex-unlock! *http-mutex*)
		num-synced)
	      (begin
		(mutex-unlock! *http-mutex*)
		0))))))

(define (db:close-main dbstruct)

Added mlaunch.scm version [4f4e7034c8].





















































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
;; Copyright 2006-2014, Matthew Welland.
;; 
;;  This program is made available under the GNU GPL version 2.0 or
;;  greater. See the accompanying file COPYING for details.
;; 
;;  This program is distributed WITHOUT ANY WARRANTY; without even the
;;  implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
;;  PURPOSE.

;;  strftime('%m/%d/%Y %H:%M:%S','now','localtime')

;;======================================================================
;; MLAUNCH
;;
;;   take jobs from the given queue and keep launching them keeping
;;   the cpu load at the targeted level
;;
;;======================================================================

(use sqlite3 srfi-1 posix regex regex-case srfi-69 dot-locking format)
(import (prefix sqlite3 sqlite3:))

(declare (unit mlaunch))
(declare (uses db))
(declare (uses common))