Megatest

Diff
Login

Differences From Artifact [3c13ebe524]:

To Artifact [12d335b5eb]:


143
144
145
146
147
148
149

150
151
152
153
154
155
156
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157







+







    ("--help"      . #f)
    ("-manual"     . #f)
    ("-version"    . #f)
    ;; misc
    ("-repl"       . #f)
    ("-immediate"  . I)
    ("-preclean"   . r)
    ("-rerun-all"  . u)
    ))

;; alist to map actions to old megatest commands
(define *action-keys*
  '((run         . "-run")
    (sync        . "")
    (archive     . "-archive")
509
510
511
512
513
514
515

516

517
518
519
520
521
522
523
510
511
512
513
514
515
516
517

518
519
520
521
522
523
524
525







+
-
+







		    (if (good-val dbdest)      `(("-sync-to"       . ,dbdest))      '())
		    (if (good-val append-conf) `(("-append-config" . ,append-conf)) '())
		    (if (not (or mode-patt tag-expr))
			`(("-testpatt"  . "%"))
			'())
		    (if (or (not action)
			    (equal? action "run"))
			`(("-preclean"  . " ")
			`(("-preclean"  . " "))      ;; if run we *always* want preclean set, use single space as placeholder
			  ("-rerun-all" . " "))      ;; if run we *always* want preclean set, use single space as placeholder
			'())
		    )
		   sched)))
      (with-output-to-file
	  (conc pktsdir "/" uuid ".pkt")
	(lambda ()
	  (print pkt))))))