@@ -146,11 +146,11 @@ -contour cname : add a level of hierarcy to the linktree and run paths -rebuild-db : bring the database schema up to date -cleanup-db : remove any orphan records, vacuum the db -import-megatest.db : push data from megatest.db to cache db files in /tmp/$USER -sync-to-megatest.db : pull data from cache files in /tmp/$USER to megatest.db - -sync-to-pg : sync to new postgresql central style database + -sync-to dest : sync to new postgresql central style database -update-meta : update the tests metadata for all tests -setvars VAR1=val1,VAR2=val2 : Add environment variables to a run NB// these are overwritten by values set in config files. -server -|hostname : start the server (reduces contention on megatest.db), use - to automatically figure out hostname @@ -287,10 +287,11 @@ "-source-db" "-src-target" "-src-runname" "-diff-email" + "-sync-to" "-diff-html" ) (list "-h" "-help" "--help" "-manual" "-version" @@ -343,11 +344,10 @@ "-convert-to-norm" "-convert-to-old" "-import-megatest.db" "-sync-to-megatest.db" - "-sync-to-pg" "-logging" "-v" ;; verbose 2, more than normal (normal is 1) "-q" ;; quiet 0, errors/warnings only @@ -2016,13 +2016,13 @@ (db:setup) 'new2old ) (set! *didsomething* #t))) -(if (args:get-arg "-sync-to-pg") +(if (args:get-arg "-sync-to") (let ((toppath (launch:setup))) - (tasks:sync-to-postgres *configdat*) + (tasks:sync-to-postgres *configdat* (args:get-arg "-sync-to")) (set! *didsomething* #t))) (if (args:get-arg "-generate-html") (let* ((toppath (launch:setup))) (if (tests:create-html-tree #f)