File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -99,10 +99,7 @@ $(_XunitEpilog)
99
99
<!-- NOTE! semicolons must be escaped with %3B boooo -->
100
100
101
101
<PropertyGroup >
102
- <_CMDDIR_Parent >$([System.IO.Path]::GetDirectoryName($(_CMDDIR)))</_CMDDIR_Parent >
103
- <_CMDDIR_Grandparent >$([System.IO.Path]::GetDirectoryName($(_CMDDIR_Parent)))</_CMDDIR_Grandparent >
104
- <CategoryWithSlash Condition =" '$(RunningOnUnix)' != 'true'" >$([System.String]::Copy('$(_CMDDIR)').Replace("$(_CMDDIR_Grandparent)\",""))</CategoryWithSlash >
105
- <CategoryWithSlash Condition =" '$(RunningOnUnix)' == 'true'" >$([System.String]::Copy('$(_CMDDIR)').Replace("$(_CMDDIR_Grandparent)/",""))</CategoryWithSlash >
102
+ <CategoryWithSlash >$([System.IO.Path]::GetRelativePath('$(XunitTestBinBase)', '$(_CMDDIR)'))</CategoryWithSlash >
106
103
<Category Condition =" '$(RunningOnUnix)' != 'true'" >$([System.String]::Copy('$(CategoryWithSlash)').Replace('\','.'))</Category >
107
104
<Category Condition =" '$(RunningOnUnix)' == 'true'" >$([System.String]::Copy('$(CategoryWithSlash)').Replace('/','.'))</Category >
108
105
<XunitWrapper >$(Category).XUnitWrapper</XunitWrapper >
You can’t perform that action at this time.
0 commit comments