aboutsummaryrefslogtreecommitdiff
path: root/build2/test/script/runner
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-11-01 16:35:47 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-11-04 09:26:37 +0200
commit4a4e5ad3c50619ad7653b01b562af9794c97aa80 (patch)
tree3feef6e7889e5673f7212d2f3ff2c34ca871b7ab /build2/test/script/runner
parent89f8e08550d437eedd16f6aa0cc5333a7db75bea (diff)
Implement command-pipe, command-expr in testscript parser
Diffstat (limited to 'build2/test/script/runner')
-rw-r--r--build2/test/script/runner10
1 files changed, 5 insertions, 5 deletions
diff --git a/build2/test/script/runner b/build2/test/script/runner
index 0180108..b78628c 100644
--- a/build2/test/script/runner
+++ b/build2/test/script/runner
@@ -26,16 +26,16 @@ namespace build2
virtual void
enter (scope&, const location&) = 0;
- // Index is the 1-base index of this command in the command list
+ // Index is the 1-base index of this command line in the command list
// (e.g., in a compound test). If it is 0 then it means there is only
// one command (e.g., a simple test). This information can be used,
// for example, to derive file names.
//
- // Location is the start position of this command in the testscript.
- // It can be used in diagnostics.
+ // Location is the start position of this command line in the
+ // testscript. It can be used in diagnostics.
//
virtual void
- run (scope&, const command&, size_t index, const location&) = 0;
+ run (scope&, const command_expr&, size_t index, const location&) = 0;
// Location is the scope end location (for diagnostics, etc).
//
@@ -50,7 +50,7 @@ namespace build2
enter (scope&, const location&) override;
virtual void
- run (scope&, const command&, size_t, const location&) override;
+ run (scope&, const command_expr&, size_t, const location&) override;
virtual void
leave (scope&, const location&) override;