]> gitweb.hhaalo.de Git - sane-kds-s2000w-net.git/commitdiff
run test without unit testing flags
authorBastian Dehn <hhaalo@arcor.de>
Tue, 19 Mar 2024 18:28:05 +0000 (19:28 +0100)
committerBastian Dehn <hhaalo@arcor.de>
Tue, 19 Mar 2024 18:28:05 +0000 (19:28 +0100)
tests/kds_s2000w_net_read_tests.h
tests/kds_s2000w_net_tests.h
tests/kds_s2000w_read_config_tests.c
tests/kds_s2000w_read_config_tests.h

index d601e3c413b772fa03dce4bcacb9a2a460a97d2f..107db579084b439b4f841b0938f7f960125e6487 100644 (file)
@@ -1,6 +1,5 @@
 #ifndef KDS_S2000W_NET_READ_TESTS_H
 #define KDS_S2000W_NET_READ_TESTS_H
-#define UNIT_TESTING 1
 #include <stdarg.h>
 #include <stddef.h>
 #include <stdint.h>
index e7eafa84dde02b8d0da82e876f55fa47351a4ced..3f2334c98b33199f0438284e7956ac38b3025803 100644 (file)
@@ -1,6 +1,5 @@
 #ifndef KDS_S2000W_NET_TESTS_H
 #define KDS_S2000W_NET_TESTS_H
-#define UNIT_TESTING 1
 #include <stdarg.h>
 #include <stddef.h>
 #include <stdint.h>
index f5feafa19cd46a6e1cbc2f76dee0faa612c98444..8df37c7f78a9f164f7b45b37a9c3ed1221d733c9 100644 (file)
@@ -11,7 +11,7 @@ int __wrap_kds_s2000w_client_open_session(response* response)
 
 void __wrap_load_config(program_config* config, const char* config_stream)
 {
-       return;
+       __real_load_config(config, config_stream);
 }
 
 int __wrap_kds_s2000w_client_stop_scan(int64_t sessionid, response* response)
index 7a0e33bd79e7bc608c94b8bb65d5a3ffdcfea94b..68d91a713472e47a137d63600be4e90ddac34385 100644 (file)
@@ -1,6 +1,5 @@
 #ifndef KDS_S2000W_READ_CONFIG_TESTS_H
 #define KDS_S2000W_READ_CONFIG_TESTS_H
-#define UNIT_TESTING 1
 #include <stdarg.h>
 #include <stddef.h>
 #include <stdint.h>