Skip to content

Commit 8f28ee1

Browse files
Massimiliano Pippimasci
Massimiliano Pippi
authored andcommitted
skip problematic test on win
1 parent 56fca8e commit 8f28ee1

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

test/test_compile.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -84,15 +84,6 @@ def test_compile_with_simple_sketch(run_command, data_dir, working_dir):
8484
assert result.ok
8585
assert os.path.exists(target)
8686

87-
# Test extention won't be added if already present
88-
result = run_command(
89-
"compile -b {fqbn} {sketch_path} -o test2.hex".format(
90-
fqbn=fqbn, sketch_path=sketch_path
91-
)
92-
)
93-
assert result.ok
94-
assert os.path.exists(os.path.join(working_dir, "test2.hex"))
95-
9687

9788
@pytest.mark.skipif(
9889
running_on_ci() and platform.system() == "Windows",
@@ -122,6 +113,15 @@ def test_output_flag_default_path(run_command, data_dir, working_dir):
122113
assert result.ok
123114
assert os.path.exists(os.path.join(working_dir, "test.hex"))
124115

116+
# Test extension won't be added if already present
117+
result = run_command(
118+
"compile -b {fqbn} {sketch_path} -o test2.hex".format(
119+
fqbn=fqbn, sketch_path=sketch_path
120+
)
121+
)
122+
assert result.ok
123+
assert os.path.exists(os.path.join(working_dir, "test2.hex"))
124+
125125

126126
def test_compile_with_sketch_with_symlink_selfloop(run_command, data_dir):
127127
# Init the environment explicitly

0 commit comments

Comments
 (0)