Page:
xfstestsdb xunit read
Pages
Home
link_xunit_props
messages
tags
testcases
xfstests_runs
xfstestsdb delete
xfstestsdb gc
xfstestsdb gtk
xfstestsdb list
xfstestsdb new
xfstestsdb rename
xfstestsdb show
xfstestsdb tag
xfstestsdb testcase list
xfstestsdb testcase show
xfstestsdb untag
xfstestsdb xunit delete
xfstestsdb xunit gc
xfstestsdb xunit list
xfstestsdb xunit properties
xfstestsdb xunit read
xfstestsdb xunit rename
xunit_properties
xunits
6
xfstestsdb xunit read
Anna edited this page 2023-02-07 14:17:30 -05:00
Table of Contents
The xfstestsdb xunit read
command reads an xunit file generated by passing -R xunit
to the xfstests-dev ./check
script and adds its contents to the xunits and xunit_properties tables. The default name used is the basename of the file with any extension stripped, but this can be overriden by using the --name
option.
Invocation
$ xfstestsdb xunit read [--name <name>] <runid> <result.xunit>
Options
Options | Description |
---|---|
--name <name> |
The name use when adding a file to a run |
Arguments
Argument | Description |
---|---|
<runid> |
The runid returned by xfstestsdb new |
<result.xunit> |
The xunit file generated by xfstests |
Exit
Exit Code | Description |
---|---|
0 |
The xunit file was successfully read and added to the database |
EEXIST |
The specified name already exists in the database |
EIO |
The xunit file was unable to be parsed |
ENOENT |
The requested run was not found in the database |
Examples
$ xfstestsdb xunit read 3 result.xunit
Created run #3 'result' with 567 tests
$ xfstestsdb xunit read --name myname 42 result.xunit
Created run #42 'myname' with 567 tests
$ xfstestsdb xunit read --name myname 42 result2.xunit
ERROR: Run #42 'myname' already exists