From 4f59d648480940b95d7f6f67c807528f0802b2c2 Mon Sep 17 00:00:00 2001 From: Isaac Shoebottom Date: Tue, 5 Dec 2023 13:27:53 -0400 Subject: [PATCH] Tests in a9 --- Assignment9/.idea/runConfigurations/All_CTest.xml | 8 ++++++++ Assignment9/.idea/runConfigurations/images.xml | 8 ++++++++ Assignment9/.idea/runConfigurations/output.xml | 8 ++++++++ Assignment9/CMakeLists.txt | 6 +++++- 4 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 Assignment9/.idea/runConfigurations/All_CTest.xml create mode 100644 Assignment9/.idea/runConfigurations/images.xml create mode 100644 Assignment9/.idea/runConfigurations/output.xml diff --git a/Assignment9/.idea/runConfigurations/All_CTest.xml b/Assignment9/.idea/runConfigurations/All_CTest.xml new file mode 100644 index 0000000..8169cb2 --- /dev/null +++ b/Assignment9/.idea/runConfigurations/All_CTest.xml @@ -0,0 +1,8 @@ + + + + + + \ No newline at end of file diff --git a/Assignment9/.idea/runConfigurations/images.xml b/Assignment9/.idea/runConfigurations/images.xml new file mode 100644 index 0000000..4cee528 --- /dev/null +++ b/Assignment9/.idea/runConfigurations/images.xml @@ -0,0 +1,8 @@ + + + + + + \ No newline at end of file diff --git a/Assignment9/.idea/runConfigurations/output.xml b/Assignment9/.idea/runConfigurations/output.xml new file mode 100644 index 0000000..0a4be87 --- /dev/null +++ b/Assignment9/.idea/runConfigurations/output.xml @@ -0,0 +1,8 @@ + + + + + + \ No newline at end of file diff --git a/Assignment9/CMakeLists.txt b/Assignment9/CMakeLists.txt index ffc1a9a..9582782 100644 --- a/Assignment9/CMakeLists.txt +++ b/Assignment9/CMakeLists.txt @@ -3,4 +3,8 @@ project(Assignment9 C) set(CMAKE_C_STANDARD 99) add_executable(Assignment9 src/main.c src/png.c - src/png.h) \ No newline at end of file + src/png.h) + +enable_testing() +add_test(NAME output COMMAND test_text.sh WORKING_DIRECTORY ../tests) +add_test(NAME images COMMAND test_images.sh WORKING_DIRECTORY ../tests) \ No newline at end of file