Skip to content

Commit e94114a

Browse files
committed
REMOVE BEFORE MERGE: Some debug logs for deletion failures
1 parent a74dc7c commit e94114a

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,4 +98,4 @@ jobs:
9898
runs-on: macos-latest
9999
steps:
100100
- uses: actions/checkout@v4
101-
- run: env PYTESTFLAGS="--verbose -p no:cacheprovider --color=yes" test/macos-script.sh
101+
- run: env PYTESTFLAGS="--verbose -p no:cacheprovider --color=yes -s" test/macos-script.sh

test/t/test_make.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,19 @@ def test_1(self, completion):
1414
def test_2(self, bash, completion):
1515
"""Hidden targets."""
1616
assert completion == ".cache/ .test_passes".split()
17+
import glob
18+
print(f"Files in {bash.cwd}/make")
19+
for filename in glob.iglob(f"{bash.cwd}/make/**/*", recursive=True):
20+
print(filename)
1721
os.remove(f"{bash.cwd}/make/extra_makefile")
1822

1923
@pytest.mark.complete("make .cache/", cwd="make", require_cmd=True)
2024
def test_3(self, bash, completion):
2125
assert completion == ".cache/1 .cache/2".split()
26+
import glob
27+
print(f"Files in {bash.cwd}/make")
28+
for filename in glob.iglob(f"{bash.cwd}/make/**/*", recursive=True):
29+
print(filename)
2230
os.remove(f"{bash.cwd}/make/extra_makefile")
2331

2432
@pytest.mark.complete("make ", cwd="shared/empty_dir")
@@ -32,6 +40,10 @@ def test_5(self, completion):
3240
@pytest.mark.complete("make ", cwd="make", require_cmd=True)
3341
def test_6(self, bash, completion):
3442
assert completion == "all clean extra_makefile install sample".split()
43+
import glob
44+
print(f"Files in {bash.cwd}/make")
45+
for filename in glob.iglob(f"{bash.cwd}/make/**/*", recursive=True):
46+
print(filename)
3547
os.remove(f"{bash.cwd}/make/extra_makefile")
3648

3749
@pytest.mark.complete("make .cache/.", cwd="make", require_cmd=True)

0 commit comments

Comments
 (0)