mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-08-05 17:17:42 +00:00
The wipe tower emitted G4 S0 to make the firmware finish its queued moves before commands that must not take effect early. Klipper's G4 reads only the P parameter, so that flush never happened there and a temperature change could land seconds ahead of the moves it was meant to follow. Klipper now gets M400 instead, through one helper shared by both wipe tower implementations. No change to any other firmware flavor's output, so no shipped profile or saved project is affected.
29 lines
739 B
CMake
29 lines
739 B
CMake
get_filename_component(_TEST_NAME ${CMAKE_CURRENT_LIST_DIR} NAME)
|
|
add_executable(${_TEST_NAME}_tests
|
|
${_TEST_NAME}_tests.cpp
|
|
test_helpers.cpp
|
|
test_helpers.hpp
|
|
test_cooling.cpp
|
|
test_extrusion_entity.cpp
|
|
test_fill.cpp
|
|
test_flow.cpp
|
|
test_gcode_timing.cpp
|
|
test_gcodewriter.cpp
|
|
test_model.cpp
|
|
test_multifilament.cpp
|
|
test_perimeters.cpp
|
|
test_print.cpp
|
|
test_printobject.cpp
|
|
test_skirt_brim.cpp
|
|
test_slicing_pipeline_hook.cpp
|
|
test_support_material.cpp
|
|
test_trianglemesh.cpp
|
|
test_wipe_tower.cpp
|
|
)
|
|
target_link_libraries(${_TEST_NAME}_tests test_common libslic3r Catch2::Catch2WithMain)
|
|
set_property(TARGET ${_TEST_NAME}_tests PROPERTY FOLDER "tests")
|
|
|
|
orcaslicer_copy_test_dlls()
|
|
|
|
orcaslicer_discover_tests(${_TEST_NAME}_tests)
|