Commit Graph

7 Commits

Author SHA1 Message Date
leo cf61dd4795
run.go: add a way to profile program's mem usage
All checks were successful
continuous-integration/drone/push Build is passing
to prevent defer-after-exit, rework the way run() is done:
* make run return an error
* return nil if all went well
* return err if something went south

special-case ErrNoAlgoSelected in main().

adjust run_test.go to these new realities, also.
2023-02-24 15:37:59 +01:00
leo 7f4e3baf1a
run,algo: tweak what runs when
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-09 03:46:07 +01:00
leo 3237fd16c6
actually don't run jDE with run_test.go
All checks were successful
continuous-integration/drone/push Build is passing
* an incomplete fix was attempted in 071cb75 but that did not prevent
  jDE from running with tests (as it does by default)
* bring func-local vars to pkg level to be able to manipulate them
  programatically (such as from tests)
* prevent jDE from running by setting -jde=false
* reword log message in test
2023-02-04 20:54:49 +01:00
leo 7585bd4889
go(run): add flags to allow algorithm selection
All checks were successful
continuous-integration/drone/push Build is passing
* jDE runs by default
* errors out if none of the algorithms is chosen
* also increase test timeout
2023-01-21 17:26:01 +01:00
leo 3f77c573a6
chore: 2023
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-12 23:35:51 +01:00
surtur 5b9378b4da
chore(run_test.go): make use of t
All checks were successful
continuous-integration/drone/push Build is passing
2022-08-03 17:39:51 +02:00
surtur 333a5c4e48
go: clean up main
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-18 23:12:33 +02:00