From 2c6f4bb357bdd10637ce5b9f097d408f2efb17ce Mon Sep 17 00:00:00 2001 From: bjt-user Date: Tue, 9 Jul 2024 08:49:48 +0200 Subject: [PATCH] renamed unit test only test one function per unit test file. --- unit-tests/Makefile | 6 +++--- unit-tests/{test_parse_ics.c => test_parse_ics_file.c} | 0 2 files changed, 3 insertions(+), 3 deletions(-) rename unit-tests/{test_parse_ics.c => test_parse_ics_file.c} (100%) diff --git a/unit-tests/Makefile b/unit-tests/Makefile index 8b25da1..1a078ea 100644 --- a/unit-tests/Makefile +++ b/unit-tests/Makefile @@ -1,9 +1,9 @@ CC = gcc CFLAGS = -Wall -g -O0 -test_parse_ics: - $(CC) $(CFLAGS) test_parse_ics.c ../src/parse_ics.c ../src/string_handling.c ../src/list_handling.c ../src/date_time_handling.c ../src/read_until_string.c ../src/read_until_nl.c -o test_parse_ics.out - ./test_parse_ics.out +test_parse_ics_file: + $(CC) $(CFLAGS) test_parse_ics_file.c ../src/parse_ics.c ../src/string_handling.c ../src/list_handling.c ../src/date_time_handling.c ../src/read_until_string.c ../src/read_until_nl.c -o test_parse_ics_file.out + ./test_parse_ics_file.out .PHONY:clean clean: diff --git a/unit-tests/test_parse_ics.c b/unit-tests/test_parse_ics_file.c similarity index 100% rename from unit-tests/test_parse_ics.c rename to unit-tests/test_parse_ics_file.c