Skip to content

Commit

Permalink
Disbaled also main target
Browse files Browse the repository at this point in the history
  • Loading branch information
judovana committed Jul 31, 2024
1 parent 1342f8a commit 624aea8
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions system/jcstress/Generate.java
Original file line number Diff line number Diff line change
Expand Up @@ -257,8 +257,13 @@ private static void printPlaylist(String jarName, List<GroupWithCases> groups) {
}
System.out.println(HEADER);
System.out.println(TEMPLATE
.replace("-DISABLED-", "")
.replace("-COMMENT-", "The only enabled target running all")
.replace("-DISABLED-", "" +
" <disables>\n" +
" <disable>\n" +
" <comment>even main target is now for manual usage only, as it runs very long</comment>\n" +
" </disable>\n" +
" </disables>")
.replace("-COMMENT-", "The running all. Due to time it needs, it is disabled by default.")
.replace("-JARFILE-", jarName)
.replace("-CORES-", coresString)
.replace("-TB-", "-tb 1h")
Expand All @@ -271,7 +276,7 @@ private static void printPlaylist(String jarName, List<GroupWithCases> groups) {
.replace("-DISABLED-", "" +
" <disables>\n" +
" <disable>\n" +
" <comment>all targets except main one are for manual usage only</comment>\n" +
" <comment>all secondary targets are for manual usage now</comment>\n" +
" </disable>\n" +
" </disables>")
.replace("-COMMENT-", q + "/" + groups.size() + " " + group.toStringNoRegex())
Expand Down

0 comments on commit 624aea8

Please sign in to comment.