Megatest

Diff
Login

Differences From Artifact [7f5cc3138c]:

To Artifact [5522f9984b]:


19
20
21
22
23
24
25

26
27
28
29
30
31
32
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33







+








(use canvas-draw)

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

(declare (unit dashboard-main))
(declare (uses dashboard-guimonitor))
(declare (uses common))
(declare (uses keys))
(declare (uses db))
(declare (uses tasks))

(include "common_records.scm")
(include "db_records.scm")
51
52
53
54
55
56
57
58

59
60
61
62
63
64
65
52
53
54
55
56
57
58

59
60
61
62
63
64
65
66







-
+







		       ;;  					     ;; #:y 'mouse
		       ;;  )					     
		       ))))


(define (mtest)
  (let* ((curr-row-num     0)
	 (rawconfig        (read-config (conc *toppath* "/megatest.config") #f 'return-string))
	 (rawconfig        (read-config (conc *toppath* "/megatest.config") #f 'return-string allow-expand: #f))
	 (keys-matrix      (iup:matrix
		            #:expand "VERTICAL"
		            ;; #:scrollbar "YES"
		            #:numcol 1
		            #:numlin 20
		            #:numcol-visible 1
		            #:numlin-visible 5
204
205
206
207
208
209
210
211

212
213
214
215

216

217
218
219
220
221
222
223
224
225
205
206
207
208
209
210
211

212
213
214
215
216
217

218
219
220
221
222
223
224
225
226
227







-
+




+
-
+









  (iup:hbox 
   (iup:frame #:title "Tests browser")))

(define (runs)
  (iup:hbox
   (iup:frame #:title "Runs browser")))

(define (main-panel)
(define (main-panel db)
  (iup:dialog
   #:title "Menu Test"
   #:menu (main-menu)
   (let ((tabtop (iup:tabs 
		  (gui-monitor db) ;; (control-panel db tdb)
		  (runs)
		  ;; (runs)
		  (mtest) 
		  (rconfig)
		  (tests)
		  )))
     (iup:attribute-set! tabtop "TABTITLE0" "Runs")
     (iup:attribute-set! tabtop "TABTITLE3" "Tests")
     (iup:attribute-set! tabtop "TABTITLE1" "megatest.config") 
     (iup:attribute-set! tabtop "TABTITLE2" "runconfigs.config")
     tabtop)))