Skip to content

Commit 6b286b9

Browse files
committed
Move lib_tcl out of 9pm
This commit removes the legacy TCL/Expect code. It's moved into its own new repo "expect-test". 9pm.py has grown up and the Expect code hasn't aged that well. So it deserves to live on its own as a clean and modern test executor. Signed-off-by: Richard Alpe <[email protected]>
1 parent ae54b40 commit 6b286b9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

90 files changed

+113
-3031
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Install dependencies
2525
run: |
2626
sudo apt-get update
27-
sudo apt-get install -y tcl tcllib expect ruby ruby-dev build-essential
27+
sudo apt-get install -y ruby ruby-dev build-essential
2828
pip install pyyaml
2929
gem install --user-install asciidoctor-pdf
3030
gem install --user-install rouge

9pm.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,13 @@
1515

1616
TEST_CNT=0
1717
ROOT_PATH = os.path.dirname(os.path.realpath(__file__))
18-
LIB_TCL_PATH = ROOT_PATH + "/lib_tcl/"
1918
# TODO: proper argument strucutre
2019
DATABASE = ""
2120
SCRATCHDIR = ""
2221
LOGDIR = None
2322
VERBOSE = False
2423
NOEXEC = False
2524

26-
if "TCLLIBPATH" in os.environ:
27-
os.environ["TCLLIBPATH"] = os.environ["TCLLIBPATH"] + " " + LIB_TCL_PATH
28-
else:
29-
os.environ["TCLLIBPATH"] = LIB_TCL_PATH
30-
3125
class pcolor:
3226
purple = '\033[95m'
3327
blue = '\033[94m'

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ check:
3434
test:
3535
python3 9pm.py --proj $(9PMPROJ) \
3636
--option cmdl-supplied \
37-
unit_tests/auto.yaml
37+
unit_tests/all.yaml
3838

3939
# Generate report from unit test results
4040
report:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ Test suites are YAML files that organize individual test cases or reference nest
7373
### Simple Test Suite Example
7474
```yaml
7575
- case: "tests/smoke.sh"
76-
- case: "tests/hammer.tcl"
76+
- case: "tests/hammer.pl"
7777
- case: "tests/cleanup.py"
7878
```
7979

lib_tcl/README.md

Lines changed: 0 additions & 76 deletions
This file was deleted.

lib_tcl/arg.tcl

Lines changed: 0 additions & 80 deletions
This file was deleted.

lib_tcl/config.tcl

Lines changed: 0 additions & 41 deletions
This file was deleted.

lib_tcl/console.tcl

Lines changed: 0 additions & 76 deletions
This file was deleted.

lib_tcl/db.tcl

Lines changed: 0 additions & 41 deletions
This file was deleted.

lib_tcl/examples/conf.yaml

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)