Skip to content

Commit

Permalink
tests: fix path to GidsApplet
Browse files Browse the repository at this point in the history
... to fix the following Traceback:
```
Traceback (most recent call last):
  File "/home/runner/work/JCProfilerNext/JCProfilerNext/tests/gather-stats.py", line 32, in <module>
    main()
  File "/home/runner/work/JCProfilerNext/JCProfilerNext/tests/run.py", line 467, in main
    execute_test(t)
  File "/home/runner/work/JCProfilerNext/JCProfilerNext/tests/run.py", line 414, in execute_test
    get_stats(test, cmd)
  File "/home/runner/work/JCProfilerNext/JCProfilerNext/tests/run.py", line 225, in get_stats
    test_dir = prepare_workdir(test, 'stats')
  File "/home/runner/work/JCProfilerNext/JCProfilerNext/tests/run.py", line 218, in prepare_workdir
    copytree(Path(test['name']) / test['path'], test_dir,
  File "/usr/lib/python3.10/shutil.py", line 557, in copytree
    with os.scandir(src) as itr:
FileNotFoundError: [Errno 2] No such file or directory: 'GidsApplet/src/com/mysmartlogon/gidsApplet'
```
  • Loading branch information
lzaoral committed Dec 29, 2023
1 parent c0ec815 commit db16a06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test-data.json
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@
{
"name": "GidsApplet",
"repo": "https://github.com/vletoux/GidsApplet",
"path": "src/com/mysmartlogon/gidsApplet",
"path": "src/main",
"jckit": "221",
"failure": {
"reason": "Instrumentation: Config cannot be resolved to a variable"
Expand Down

0 comments on commit db16a06

Please sign in to comment.