|
|
@ -25,7 +25,7 @@ func runParseTest(t *testing.T, basepath, inpath, outpath string) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
r_inpath := filepath.Base(inpath)
|
|
|
|
r_inpath := filepath.Base(inpath)
|
|
|
|
n, err := strconv.ParseInt(strings.TrimSuffix(r_inpath, ".in"), 0, 64)
|
|
|
|
n, err := strconv.ParseInt(strings.TrimSuffix(r_inpath, ".in"), 10, 64)
|
|
|
|
if err != nil {
|
|
|
|
if err != nil {
|
|
|
|
t.Errorf("unable to get test number for path %s: %s", inpath, err)
|
|
|
|
t.Errorf("unable to get test number for path %s: %s", inpath, err)
|
|
|
|
return
|
|
|
|
return
|
|
|
|