🎨 Consistent tests paths

This commit is contained in:
Scott Lahteine
2025-12-02 11:59:58 -06:00
parent bfe9885603
commit 61a1c05d3a
5 changed files with 10 additions and 4 deletions

View File

@@ -21,7 +21,7 @@
*/
#include "../test/unit_tests.h"
#include <src/core/macros.h>
#include "src/core/macros.h"
// These represent enabled and disabled configuration options for testing.
// They will be used by multiple tests.

View File

@@ -24,7 +24,7 @@
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
#include <src/feature/runout.h>
#include "src/feature/runout.h"
MARLIN_TEST(runout, poll_runout_states) {
FilamentSensorBase sensor;

View File

@@ -21,8 +21,8 @@
*/
#include "../test/unit_tests.h"
#include <src/gcode/gcode.h>
#include <src/gcode/parser.h>
#include "src/gcode/gcode.h"
#include "src/gcode/parser.h"
MARLIN_TEST(gcode, process_parsed_command) {
GcodeSuite suite;

View File

@@ -21,6 +21,8 @@
*/
/**
* unit_tests.cpp - Unit for running tests in the Marlin/tests/ folder.
*
* Provide the main() function used for all compiled unit test binaries.
* It collects all the tests defined in the code and runs them through Unity.
*/

View File

@@ -21,6 +21,10 @@
*/
#pragma once
/**
* unit_tests.h - Unit Tests class used by cpp files in the Marlin/tests/ folder.
*/
#include <list>
#include <string>
#include <unity.h>