You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
413 B
21 lines
413 B
//Test file for the conditional comment inclusion/exclusion code. |
|
//Run this file from the util/buildscripts/tests directory. |
|
|
|
load("../jslib/fileUtil.js"); |
|
load("../jslib/logger.js"); |
|
load("../jslib/buildUtil.js"); |
|
|
|
|
|
|
|
|
|
var result = buildUtil.processConditionals( |
|
"conditionalTest.txt", |
|
fileUtil.readFile("conditionalTest.txt"), |
|
{ |
|
loader: "xdomain", |
|
shouldInclude: true, |
|
nesting: 1 |
|
} |
|
); |
|
|
|
print(result);
|
|
|