Megatest

Diff
Login

Differences From Artifact [f7802b825a]:

To Artifact [436292b676]:


141
142
143
144
145
146
147



148
149
150

151
152
153
154


155
156
157

158
159
160
161
162
163
164
165
166
			     ((string? instr2)     instr2)
			     (else 
			      ;; NOTE: This is actually the case of *no* waitons! ;; (debug:print 0 "ERROR: something went wrong in processing waitons for test " test-name)
			      "")))))
	 (values
	  ;; the waitons
	  (filter (lambda (x)



		    (if (hash-table-ref/default all-tests-registry x #f)
			#t
			(begin

			  (debug:print 0 "ERROR: test " test-name " has unrecognised waiton testname " x)
			  #f)))
		  newwaitons)
	  (filter (lambda (x)


		    (if (hash-table-ref/default all-tests-registry x #f)
			#t
			(begin

			  (debug:print 0 "ERROR: test " test-name " has unrecognised waiton testname " x)
			  #f)))
		  newwaitors)
	  config)))))
					     
;; given waiting-test that is waiting on waiton-test extend test-patt appropriately
;;
;;  genlib/testconfig               sim/testconfig
;;  genlib/sch                      sim/sch/cell1







>
>
>
|


>
|
|


>
>
|
|
|
>
|
|







141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
			     ((string? instr2)     instr2)
			     (else 
			      ;; NOTE: This is actually the case of *no* waitons! ;; (debug:print 0 "ERROR: something went wrong in processing waitons for test " test-name)
			      "")))))
	 (values
	  ;; the waitons
	  (filter (lambda (x)
                    ;; if x has a / in name, split the first part before / and check that value
                    (let ((y (car (string-split x "/" #t))))
                      ;;(print y)
                      (if (hash-table-ref/default all-tests-registry y #f)
			#t
			(begin
                          (print "Checking for waiton test " y)
			  (debug:print 0 "ERROR: test " test-name " has unrecognised waiton testname " y)
			  #f))))
		  newwaitons)
	  (filter (lambda (x)
                    (let ((y (car (string-split x "/" #t))))
                      ;;(print y)
                      (if (hash-table-ref/default all-tests-registry y #f)
                          #t
                          (begin
                            (print "Checking for waiton test " y)
                            (debug:print 0 "ERROR: test " test-name " has unrecognised waiton testname " y)
                            #f))))
		  newwaitors)
	  config)))))
					     
;; given waiting-test that is waiting on waiton-test extend test-patt appropriately
;;
;;  genlib/testconfig               sim/testconfig
;;  genlib/sch                      sim/sch/cell1