Megatest

Check-in [f902be8c4a]
Login
Overview
Comment:Bumped version.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | v1.60
Files: files | file ages | folders
SHA1: f902be8c4aee7eef721e97486abcd78ce9808a1c
User & Date: mrwellan on 2015-06-04 09:45:37
Other Links: branch diff | manifest | tags
Context
2015-06-04
10:00
Removed noisy output from list-runs check-in: 5533ee8698 user: mrwellan tags: v1.60
09:45
Bumped version. check-in: f902be8c4a user: mrwellan tags: v1.60
01:30
Fixed couple issues with -list-runs created by additon of fields filters check-in: 5eaf98203f user: matt tags: v1.60
Changes

Modified megatest-version.scm from [01cc069134] to [3b8d26b409].

1
2
3
4
5
6

7
1
2
3
4
5

6
7





-
+

;; Always use two or four digit decimal
;; 1.01, 1.02...1.10,1.11,1,1101 ... 1.99,2.00..

(declare (unit megatest-version))

(define megatest-version 1.6014)
(define megatest-version 1.6015)

Modified megatest.scm from [47275c3c75] to [99efa0b501].

739
740
741
742
743
744
745


746
747
748
749








750
751
752
753
754
755
756
739
740
741
742
743
744
745
746
747




748
749
750
751
752
753
754
755
756
757
758
759
760
761
762







+
+
-
-
-
-
+
+
+
+
+
+
+
+







;;======================================================================
;; Weird special calls that need to run *after* the server has started?
;;======================================================================

(if (args:get-arg "-list-targets")
    (let ((targets (common:get-runconfig-targets)))
      (print "Found "(length targets) " targets")
      (case (string->symbol (or (args:get-arg "-dumpmode") "alist"))
	((alist)
      (for-each (lambda (x)
		  ;; (print "[" x "]"))
		  (print x))
		targets)
	 (for-each (lambda (x)
		     ;; (print "[" x "]"))
		     (print x))
		   targets))
	((json)
	 (json-write targets))
	(else
	 (debug:print 0 "ERROR: dump output format " (args:get-arg "-dumpmode") " not supported for -list-targets")))
      (set! *didsomething* #t)))

(define (full-runconfigs-read)
  (let* ((keys   (rmt:get-keys))
	 (target (common:args-get-target))
	 (key-vals (if target (keys:target->keyval keys target) #f))
	 (sections (if target (list "default" target) #f))
773
774
775
776
777
778
779
780

781
782
783
784
785
786
787
779
780
781
782
783
784
785

786
787
788
789
790
791
792
793







-
+







	 ((and (args:get-arg "-section")
	       (args:get-arg "-var"))
	  (let ((val (configf:lookup data (args:get-arg "-section")(args:get-arg "-var"))))
	    (if val (print val))))
	 ((not (args:get-arg "-dumpmode"))
	  (pp (hash-table->alist data)))
	 ((string=? (args:get-arg "-dumpmode") "json")
	(json-write data))
	  (json-write data))
	 (else
	  (debug:print 0 "ERROR: -dumpmode of " (args:get-arg "-dumpmode") " not recognised")))
	(set! *didsomething* #t))
      (pop-directory)))

(if (args:get-arg "-show-config")
    (let ((tl   (launch:setup-for-run))