Megatest

View Ticket
Login
2013-07-11
17:07 Closed ticket [3f4baca0b1]: echo '(print (string-intersperse (sort (map car (hash-table->alist (read-config "runconfigs.config" (make-hash-table) #f))) string<?) "\n"))' | megatest -repl plus 3 other changes artifact: a2c07c3a17 user: mrwellan
2012-09-11
15:26 New ticket [3f4baca0b1]. artifact: 1562ad6d7e user: matt

Ticket Hash: 3f4baca0b1e04661384dd4e035681c3229e183de
Title: echo '(print (string-intersperse (sort (map car (hash-table->alist (read-config "runconfigs.config" (make-hash-table) #f))) string<?) "\n"))' | megatest -repl
Status: Closed Type: Code_Defect
Severity: Minor Priority: Immediate
Subsystem: Resolution: Fixed
Last Modified: 2013-07-11 17:07:25
Version Found In: v1.4403
Description:
### Check targets make check TARGET=<target> # Checks if target is defined make verify TARGET=<target> # Checks if target matches official target list

### Defined targets (from ./configs/mrwellan.runconfigs.config)

Error: (prepare) near "AND": syntax error #<sqlite3:database> "SELECT t.rundir FROM tests AS t INNER JOIN runs AS r ON t.run_id=r.id WHERE AND r.runname LIKE '-testpatt' AND item_path LIKE '%' AND testname LIKE '%' AND t.state LIKE '%' AND t.status LIKE '%'ORDER BY t.event_time ASC;"

Call history:
db.scm:627: args:get-arg margs.scm:17: hash-table-ref/default db.scm:628: args:get-arg margs.scm:17: hash-table-ref/default db.scm:629: args:get-arg margs.scm:17: hash-table-ref/default db.scm:630: args:get-arg margs.scm:17: hash-table-ref/default db.scm:631: args:get-arg margs.scm:17: hash-table-ref/default db.scm:631: args:get-arg margs.scm:17: hash-table-ref/default db.scm:636: string-split db.scm:632: string-intersperse db.scm:638: conc db.scm:643: sqlite3#for-each-row <-- p1271/9/r1.10/beta

mrwellan added on 2013-07-11 23:07:25 UTC:
Running the pasted command worked fine in v1.5508