We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f42ee8e commit e605dbbCopy full SHA for e605dbb
com.oracle.truffle.r.test.packages/pkgtest/__init__.py
@@ -317,7 +317,15 @@ class TestFileStatus:
317
def __init__(self, status, abspath):
318
self.status = status
319
self.abspath = abspath
320
- self.report = 0, 1, 0
+ if status == "OK":
321
+ # At this point, status == "OK" means that we had no '.fail' output file and we will investigate the single
322
+ # test cases. So, initially we claim the test was skipped because if GnuR failed on the test, we state that
323
+ # we skipped it.
324
+ self.report = 0, 1, 0
325
+ elif status == "FAILED":
326
+ self.report = 0, 0, 1
327
+ else:
328
+ raise ValueError('Invalid test file status: %s (allowed: "OK", "FAILED")' % status)
329
330
331
class TestStatus:
0 commit comments