Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for synthesizeSkipEvent (0.14 sec)

  1. src/cmd/dist/testjson.go

    		}
    		bytes, err := json.Marshal(v.atom)
    		if err != nil {
    			return err
    		}
    		buf.Write(bytes)
    		return nil
    	}
    	err := marshal1(v)
    	return buf.Bytes(), err
    }
    
    func synthesizeSkipEvent(enc *json.Encoder, pkg, msg string) {
    	type event struct {
    		Time    time.Time
    		Action  string
    		Package string
    		Output  string `json:",omitempty"`
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 20:46:32 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. src/cmd/dist/test.go

    	end   chan struct{} // a value means cmd ended (or was skipped)
    }
    
    // printSkip prints a skip message for all of work.
    func (w *work) printSkip(t *tester, msg string) {
    	if t.json {
    		synthesizeSkipEvent(json.NewEncoder(&w.out), w.dt.name, msg)
    		return
    	}
    	fmt.Fprintln(&w.out, msg)
    }
    
    // A distTest is a test run by dist test.
    // Each test has a unique name and belongs to a group (heading)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 16:01:35 UTC 2024
    - 50K bytes
    - Viewed (0)
Back to top