Skip to content

Commit ec78e3e

Browse files
authored
Merge pull request verilog-to-routing#1567 from byuccl/pl_cleanup
Fix lingering .pl references in documentation
2 parents 08f054c + fef8bf8 commit ec78e3e

File tree

4 files changed

+14
-7
lines changed

4 files changed

+14
-7
lines changed

.github/autolabeler.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ external_libs: ["libs/EXTERNAL"]
1717
docs: ["docs/", "README.md", "*.md", "tutorial", "README", "*.rst"]
1818
infra: [".travis.yml", ".travis.yml", ".travis/", "scripts/", ".github/", "Dockerfile"]
1919
build: ["Makefile", "*.make", "CMakeLists.txt", "cmake"]
20-
tests: ["*_test.pl", "*test*", "*TESTS*"]
21-
scripts: ["scripts", "*.pl", "*.sh"]
20+
tests: ["*_test.py", "*test*", "*TESTS*"]
21+
scripts: ["scripts", "*.pl", "*.py", "*.sh"]
2222
VTR Flow: ["vtr_flow"]
2323

2424
# Tag pull requests with the languages used to make it easy to see what is

README.developers.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -746,17 +746,17 @@ There may be times when a regression test fails its QoR test because its golden_
746746
```shell
747747
#From the VTR root
748748
$ cd vtr_flow/tasks
749-
$ ../scripts/run_vtr_task.pl regression_tests/vtr_reg_nightly/vtr_ex_test
749+
$ ../scripts/run_vtr_task.py regression_tests/vtr_reg_nightly/vtr_ex_test
750750
```
751-
2. Next, generate new golden reference results using `parse_vtr_task.pl` and the `-create_golden` option.
751+
2. Next, generate new golden reference results using `parse_vtr_task.py` and the `-create_golden` option.
752752

753753
```shell
754-
$ ../scripts/parse_vtr_task.pl regression_tests/vtr_reg_nightly/vtr_ex_test -create_golden
754+
$ ../scripts/parse_vtr_task.py regression_tests/vtr_reg_nightly/vtr_ex_test -create_golden
755755
```
756756
3. Lastly, check that the results match with the `-check_golden` option
757757

758758
```shell
759-
$ ../scripts/parse_vtr_task.pl regression_tests/vtr_reg_nightly/vtr_ex_test -check_golden
759+
$ ../scripts/parse_vtr_task.py regression_tests/vtr_reg_nightly/vtr_ex_test -check_golden
760760
```
761761
Once the `-check_golden` command passes, the changes to the golden result can be committed so that the reg test will pass in future runs of vtr_reg_nightly.
762762

dev/tutorial/NewDeveloperTutorial.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Task #3 - Setup VTR
4747

4848
2. Build the project
4949

50-
3. Run "./run_quick_test.pl" to check that the build worked
50+
3. Run "./run_quick_test.py" to check that the build worked
5151

5252
4. Follow the Basic Design Flow Tutorial found in the Tutorials
5353
section of the documentation (https://vtr.readthedocs.io/en/latest).

run_quick_test.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/usr/bin/env python3
2+
3+
""" Run the vtr_reg_basic regression test """
4+
5+
import subprocess
6+
7+
subprocess.run(["./run_reg_test.py", "vtr_reg_basic"], check=True)

0 commit comments

Comments
 (0)