testing: Update CliTest Support.
And add tests for Cli preprocessing. Signed-off-by: Will Hawkins <hawkinsw@obs.cr>
This commit is contained in:
@@ -23,4 +23,19 @@ import Testing
|
||||
@CliTest()
|
||||
func simple_cli_test() -> [String] {
|
||||
return ["p4ce", "--plain", "compile", "simple.p4", "-I", "TestData/Sources/"]
|
||||
}
|
||||
|
||||
@CliTest()
|
||||
func simple_cli_testa() -> [String] {
|
||||
return ["p4ce", "--plain", "compile", "simple.p4", "-I", "TestData/Sources/"]
|
||||
}
|
||||
|
||||
@CliTest()
|
||||
func simple_cli_preprocessor_test() -> [String] {
|
||||
return ["p4ce", "--plain", "preprocess", "simple.p4", "-I", "TestData/Sources/"]
|
||||
}
|
||||
|
||||
@CliTest()
|
||||
func simple_cli_preprocessor_test_file_not_found() -> [String] {
|
||||
return ["p4ce", "--plain", "preprocess", "simple.p", "-I", "TestData/Sources/"]
|
||||
}
|
||||
Reference in New Issue
Block a user