Skip to content

Commit 5868949

Browse files
committed
test: move all lib_tcl tests into separate suite
There's still some overlap with harness testing. For example a lot of the lib_tcl tests assumes the harness (9pm.py) is working and has working command line and suite parsing. Signed-off-by: Richard Alpe <[email protected]>
1 parent 36bd4d3 commit 5868949

34 files changed

+21
-17
lines changed

unit_tests/auto.yaml

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,6 @@
11
---
22
- case: "sanity/dummy.sh"
33
- case: "sanity/noopt.tcl"
4-
- suite: "args/args.yaml"
5-
name: "args"
6-
- suite: "config/test.yaml"
7-
name: "config"
8-
- suite: "execute/execute.yaml"
9-
name: "execute"
10-
- suite: "logging/logging.yaml"
11-
name: "logging"
12-
- suite: "shell/shell.yaml"
13-
name: "shell"
144
- suite: "harness/options.yaml"
155
name: "options"
166
- suite: "harness/suite_skip.yaml"
@@ -19,9 +9,6 @@
199
name: "test-report-creation"
2010
- suite: "harness/onfail.yaml"
2111
name: "on-fail"
22-
- suite: "helpers/helpers.yaml"
23-
name: "helpers"
24-
- suite: "db/db.yaml"
25-
name: "database"
26-
- suite: "tap/tap.yaml"
27-
name: "tap"
12+
13+
- suite: "lib_tcl/all.yaml"
14+
name: "lib-tcl"

unit_tests/lib_tcl/all.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
- suite: "args/args.yaml"
3+
name: "args"
4+
- suite: "config/test.yaml"
5+
name: "config"
6+
- suite: "execute/execute.yaml"
7+
name: "execute"
8+
- suite: "logging/logging.yaml"
9+
name: "logging"
10+
- suite: "shell/shell.yaml"
11+
name: "shell"
12+
- suite: "helpers/helpers.yaml"
13+
name: "helpers"
14+
- suite: "db/db.yaml"
15+
name: "database"
16+
- suite: "tap/tap.yaml"
17+
name: "tap"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22
DIR="$(cd "$(dirname "$0")" && pwd)"
3-
TCLLIBPATH="$DIR/../../"
3+
TCLLIBPATH="$DIR/../../../"
44

55
export TCLLIBPATH=$TCLLIBPATH
66

0 commit comments

Comments
 (0)