Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ LDFLAGS = -g
BINARY = test_libopeninv
OBJS = test_main.o fu.o test_fu.o test_fp.o my_fp.o my_string.o params.o \
stub_canhardware.o test_canmap.o canmap.o test_linbus.o linbus.o \
stub_libopencm3.o
stub_libopencm3.o test_cansdo.o cansdo.o errormessage.o printf.o
VPATH = ../src ../libopeninv/src

# Check if the variable GITHUB_RUN_NUMBER exists. When running on the github actions running, this
Expand Down
22 changes: 22 additions & 0 deletions test/test-include/errormessage_prj.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/*
* This file is part of the libopeninv project.
*
* Copyright (C) 2025 Johannes Huebner <dev@johanneshuebner.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

// Minimal error message definitions for unit tests
#define ERROR_MESSAGE_LIST
#define ERROR_BUF_SIZE 10
Loading
Loading