Skip to content

Commit

Permalink
Fix null value in jtx path (#4313)
Browse files Browse the repository at this point in the history
Signed-off-by: Mesbah Alam <[email protected]>
  • Loading branch information
Mesbah-Alam authored Feb 6, 2023
1 parent b60d63c commit 042166b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion jck/jtrunner/JavaTestRunner.java
Original file line number Diff line number Diff line change
Expand Up @@ -311,11 +311,12 @@ public static boolean generateJTB() throws Exception {
System.out.println("Unable to find known failures list file " + kflFullPath);
kflFullPath = "";
}

testFlagJtxFullPath = "";

if (task == null || !task.equals("custom")) {
if (testFlag != null && testFlag.length() > 0 ) {
// Look for a known failures list file specific to TEST_FLAG testing
testFlagJtxFullPath = "";
if (testFlag.contains(",")) {
testFlagList = testFlag.split(",");
} else {
Expand Down

0 comments on commit 042166b

Please sign in to comment.