diff options
| author | Jeff Carr <[email protected]> | 2025-10-19 06:31:19 -0500 | 
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-19 06:31:19 -0500 | 
| commit | e01df9df195875cbc259b10893418442c2f5e1ec (patch) | |
| tree | 5b073e133f92c08a204e473b662bdd270e840652 | |
| parent | 7698e54f512f95991d1c9a441d300300db29ea4a (diff) | |
cleanup doTestVersion()
| -rw-r--r-- | doTest.go | 5 | ||||
| -rw-r--r-- | resources/TESTVERSION | 6 | ||||
| -rw-r--r-- | structs.go | 5 | 
3 files changed, 8 insertions, 8 deletions
@@ -59,11 +59,12 @@ func doTest() (string, error) {  				continue  			}  			if argv.Test.Version != nil { -				log.Info("LINE=", cmdname) +				// log.Info("LINE=", cmdname)  				allerr = errors.Join(allerr, doTestVersion(cmdname))  			}  		}  		if allerr != nil { +			log.Printf("ALLERR=(%v)\n", allerr)  			return "version tests failed", allerr  		}  		return "all version tests passed", nil @@ -106,6 +107,7 @@ func doTestVersion(cmdname string) error {  		if !strings.HasPrefix(line, cmdname) {  			return versionStderr(cmdname, &r)  		} +		log.Info(line)  		// probably okay  		return nil  	} @@ -118,6 +120,7 @@ func doTestVersion(cmdname string) error {  		if !strings.HasPrefix(line, cmdname) {  			return versionStderr(cmdname, &r)  		} +		log.Info(line)  		// probably okay  		return nil  	} diff --git a/resources/TESTVERSION b/resources/TESTVERSION index 77d6291..3810422 100644 --- a/resources/TESTVERSION +++ b/resources/TESTVERSION @@ -1,13 +1,11 @@ --rwxr-xr-x 1 jcarr jcarr  19014488 Oct 18 11:15 autogenpb +-rwxr-xr-x 1 jcarr jcarr  19014488 Oct 18 11:15 forge  -rwxr-xr-x 1 jcarr jcarr  19014488 Oct 18 11:15 basicwindow --rwxr-xr-x 1 jcarr jcarr  24416080 Oct 18 11:13 forge  -rwxr-xr-x 1 jcarr jcarr  24309824 Oct 18 11:11 wit  -rwxr-xr-x 1 jcarr jcarr  37211480 Oct 18 10:43 gus  -rwxr-xr-x 1 jcarr jcarr  21406968 Oct 18 10:43 zood  -rwxr-xr-x 1 jcarr jcarr  25231576 Oct 18 10:43 virtigod  -rwxr-xr-x 1 jcarr jcarr  23480008 Oct 18 10:43 gowebd  -rwxr-xr-x 1 jcarr jcarr  24697680 Oct 18 10:43 guireleaser --rwxr-xr-x 1 jcarr jcarr  22481568 Oct 18 10:43 go-gui-toolkits  -rwxr-xr-x 1 jcarr jcarr  22606424 Oct 18 10:43 go-mod-clean  -rwxr-xr-x 1 jcarr jcarr  22574936 Oct 18 10:43 go-clone  -rwxr-xr-x 1 jcarr jcarr  23427472 Oct 18 10:43 virtigo @@ -15,9 +13,7 @@  -rwxr-xr-x 1 jcarr jcarr  21725120 Oct 18 10:43 zookeeper  -rwxr-xr-x 1 jcarr jcarr  22644600 Oct 18 10:43 go-deb  -rwxr-xr-x 1 jcarr jcarr  20928632 Oct 18 10:43 virtigoctl --rwxr-xr-x 1 jcarr jcarr  21523896 Oct 18 10:43 jcarrgitpull  -rwxr-xr-x 1 jcarr jcarr  22328608 Oct 18 10:43 fixup  -rwxr-xr-x 1 jcarr jcarr  21460328 Oct 18 10:43 mirrors  -rwxr-xr-x 1 jcarr jcarr   9937936 Oct 18 10:43 going2git  -rwxr-xr-x 1 jcarr jcarr   9444608 Oct 18 10:43 startxplacement --rwxr-xr-x 1 jcarr jcarr   8701912 Oct 18 10:43 powerpaneld @@ -18,13 +18,14 @@ var me *mainType  // this app's variables  type mainType struct { -	once    sync.Once      // one-time initialized data +	once sync.Once // one-time initialized data +	// "go.wit.com/dev/alexflint/arg"  	argv    *argvpb.Argv   // more experiments for bash handling  	pp      *arg.Parser    // for parsing the command line args.  Yay to alexf lint! +	myGui   *fhelp.GuiPrep // for initializing the GUI toolkits  	forge   *forgepb.Forge // your customized repo preferences and settings  	machine *zoopb.Machine // your customized repo preferences and settings  	homedir string         // where the user homedir is -	myGui   *fhelp.GuiPrep // for initializing the GUI toolkits  }  func initForge() {  | 
