aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2020-07-27 15:37:23 +0200
committerThomas White <taw@physics.org>2020-07-29 18:53:45 +0200
commit7680ae24a77a48ae8ebe025a9f6fc3564aa744a7 (patch)
treeb48d42c183c6b3c363d00e7c77b01e34ab2fa8e1 /tests
parentbb099d6c25a2868907b093053bd5205ac7bc8b94 (diff)
Remove config.h from tests
This is a relic from autotools, where config.h might add function definitions. The tests shouldn't be behaving differently based on the configuration (though perhaps tests might be enabled or disabled by the build system). Also: which config.h should it be? The top-level one, or libcrystfel's?
Diffstat (limited to 'tests')
-rw-r--r--tests/ambi_check.c5
-rw-r--r--tests/cell_check.c5
-rw-r--r--tests/cellcompare_check.c5
-rw-r--r--tests/centering_check.c5
-rw-r--r--tests/ev_enum1.c5
-rw-r--r--tests/ev_enum2.c5
-rw-r--r--tests/ev_enum3.c5
-rw-r--r--tests/evparse1.c5
-rw-r--r--tests/evparse2.c5
-rw-r--r--tests/evparse3.c5
-rw-r--r--tests/evparse4.c5
-rw-r--r--tests/evparse5.c5
-rw-r--r--tests/evparse6.c5
-rw-r--r--tests/evparse7.c5
-rw-r--r--tests/gpu_sim_check.c5
-rw-r--r--tests/histogram.c4
-rw-r--r--tests/histogram.h4
-rw-r--r--tests/integration_check.c5
-rw-r--r--tests/list_check.c5
-rw-r--r--tests/polarisation_check.c5
-rw-r--r--tests/prediction_gradient_check.c5
-rw-r--r--tests/prof2d_check.c5
-rw-r--r--tests/rational_check.c5
-rw-r--r--tests/ring_check.c5
-rw-r--r--tests/scaling_check.c5
-rw-r--r--tests/spectrum_check.c5
-rw-r--r--tests/symmetry_check.c5
-rw-r--r--tests/transformation_check.c5
-rw-r--r--tests/wavelength_geom.c5
29 files changed, 0 insertions, 143 deletions
diff --git a/tests/ambi_check.c b/tests/ambi_check.c
index 03224ce6..5f13053a 100644
--- a/tests/ambi_check.c
+++ b/tests/ambi_check.c
@@ -26,11 +26,6 @@
*
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
-
#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
diff --git a/tests/cell_check.c b/tests/cell_check.c
index 23f7245f..ec83680a 100644
--- a/tests/cell_check.c
+++ b/tests/cell_check.c
@@ -26,11 +26,6 @@
*
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
-
#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
diff --git a/tests/cellcompare_check.c b/tests/cellcompare_check.c
index 695d6258..dea3eead 100644
--- a/tests/cellcompare_check.c
+++ b/tests/cellcompare_check.c
@@ -26,11 +26,6 @@
*
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
-
#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
diff --git a/tests/centering_check.c b/tests/centering_check.c
index f418da50..4f6a9841 100644
--- a/tests/centering_check.c
+++ b/tests/centering_check.c
@@ -26,11 +26,6 @@
*
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
-
#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
diff --git a/tests/ev_enum1.c b/tests/ev_enum1.c
index 67cccb5b..ce9a9d61 100644
--- a/tests/ev_enum1.c
+++ b/tests/ev_enum1.c
@@ -26,11 +26,6 @@
*
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
-
#include <stdio.h>
#include <stdarg.h>
#include <string.h>
diff --git a/tests/ev_enum2.c b/tests/ev_enum2.c
index 3105f71f..1c1dd55a 100644
--- a/tests/ev_enum2.c
+++ b/tests/ev_enum2.c
@@ -26,11 +26,6 @@
*
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
-
#include <stdio.h>
#include <stdarg.h>
#include <stdlib.h>
diff --git a/tests/ev_enum3.c b/tests/ev_enum3.c
index 8af378e7..c6407ec7 100644
--- a/tests/ev_enum3.c
+++ b/tests/ev_enum3.c
@@ -26,11 +26,6 @@
*
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
-
#include <stdio.h>
#include <stdarg.h>
#include <stdlib.h>
diff --git a/tests/evparse1.c b/tests/evparse1.c
index 7b8799d6..2768b3cf 100644
--- a/tests/evparse1.c
+++ b/tests/evparse1.c
@@ -26,11 +26,6 @@
*
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
-
#include <stdio.h>
#include <string.h>
#include <stdarg.h>
diff --git a/tests/evparse2.c b/tests/evparse2.c
index 6b81ae70..034b1672 100644
--- a/tests/evparse2.c
+++ b/tests/evparse2.c
@@ -26,11 +26,6 @@
*
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
-
#include <stdio.h>
#include <string.h>
#include <stdarg.h>
diff --git a/tests/evparse3.c b/tests/evparse3.c
index a7d41629..5db1de8c 100644
--- a/tests/evparse3.c
+++ b/tests/evparse3.c
@@ -26,11 +26,6 @@
*
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
-
#include <stdio.h>
#include <stdarg.h>
diff --git a/tests/evparse4.c b/tests/evparse4.c
index 7a975c96..13f096cf 100644
--- a/tests/evparse4.c
+++ b/tests/evparse4.c
@@ -26,11 +26,6 @@
*
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
-
#include <stdio.h>
#include <stdarg.h>
diff --git a/tests/evparse5.c b/tests/evparse5.c
index 06daba13..7f81f47e 100644
--- a/tests/evparse5.c
+++ b/tests/evparse5.c
@@ -26,11 +26,6 @@
*
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
-
#include <stdio.h>
#include <stdarg.h>
diff --git a/tests/evparse6.c b/tests/evparse6.c
index 63152dda..631db686 100644
--- a/tests/evparse6.c
+++ b/tests/evparse6.c
@@ -26,11 +26,6 @@
*
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
-
#include <stdio.h>
#include <stdarg.h>
diff --git a/tests/evparse7.c b/tests/evparse7.c
index fca5055d..26f2dc41 100644
--- a/tests/evparse7.c
+++ b/tests/evparse7.c
@@ -26,11 +26,6 @@
*
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
-
#include <stdio.h>
#include <string.h>
#include <stdarg.h>
diff --git a/tests/gpu_sim_check.c b/tests/gpu_sim_check.c
index 4424b68e..d8f85290 100644
--- a/tests/gpu_sim_check.c
+++ b/tests/gpu_sim_check.c
@@ -26,11 +26,6 @@
*
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
-
#include <stdlib.h>
#include <stdio.h>
diff --git a/tests/histogram.c b/tests/histogram.c
index 3cccfaea..dfd59fee 100644
--- a/tests/histogram.c
+++ b/tests/histogram.c
@@ -26,10 +26,6 @@
*
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
diff --git a/tests/histogram.h b/tests/histogram.h
index f0091bd7..7b295caa 100644
--- a/tests/histogram.h
+++ b/tests/histogram.h
@@ -29,10 +29,6 @@
#ifndef HISTOGRAM_H
#define HISTOGRAM_H
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
#ifdef __cplusplus
extern "C" {
#endif
diff --git a/tests/integration_check.c b/tests/integration_check.c
index b7deb5ca..8dcf5039 100644
--- a/tests/integration_check.c
+++ b/tests/integration_check.c
@@ -26,11 +26,6 @@
*
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
-
#include <stdlib.h>
#include <stdio.h>
diff --git a/tests/list_check.c b/tests/list_check.c
index 4a98e20d..4eac2650 100644
--- a/tests/list_check.c
+++ b/tests/list_check.c
@@ -26,11 +26,6 @@
*
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
-
#include <stdlib.h>
#include <stdio.h>
diff --git a/tests/polarisation_check.c b/tests/polarisation_check.c
index dcad4304..1ebc41b7 100644
--- a/tests/polarisation_check.c
+++ b/tests/polarisation_check.c
@@ -26,11 +26,6 @@
*
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
-
#include <stdlib.h>
#include <stdio.h>
diff --git a/tests/prediction_gradient_check.c b/tests/prediction_gradient_check.c
index 38601719..6d8e596a 100644
--- a/tests/prediction_gradient_check.c
+++ b/tests/prediction_gradient_check.c
@@ -26,11 +26,6 @@
*
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
-
#include <stdlib.h>
#include <stdio.h>
#include <gsl/gsl_statistics.h>
diff --git a/tests/prof2d_check.c b/tests/prof2d_check.c
index a32adaa0..f291c915 100644
--- a/tests/prof2d_check.c
+++ b/tests/prof2d_check.c
@@ -26,11 +26,6 @@
*
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
-
#include <stdlib.h>
#include <stdio.h>
diff --git a/tests/rational_check.c b/tests/rational_check.c
index fc48b709..6ad4df8f 100644
--- a/tests/rational_check.c
+++ b/tests/rational_check.c
@@ -26,11 +26,6 @@
*
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
-
#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
diff --git a/tests/ring_check.c b/tests/ring_check.c
index 89978ad8..dac0d90f 100644
--- a/tests/ring_check.c
+++ b/tests/ring_check.c
@@ -27,11 +27,6 @@
*
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
-
#include <stdlib.h>
#include <stdio.h>
diff --git a/tests/scaling_check.c b/tests/scaling_check.c
index 5a60bf46..05887dde 100644
--- a/tests/scaling_check.c
+++ b/tests/scaling_check.c
@@ -26,11 +26,6 @@
*
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
-
#include <stdlib.h>
#include <stdio.h>
diff --git a/tests/spectrum_check.c b/tests/spectrum_check.c
index b20aa06e..920a680a 100644
--- a/tests/spectrum_check.c
+++ b/tests/spectrum_check.c
@@ -26,11 +26,6 @@
*
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
-
#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
diff --git a/tests/symmetry_check.c b/tests/symmetry_check.c
index 5309206c..be9312e1 100644
--- a/tests/symmetry_check.c
+++ b/tests/symmetry_check.c
@@ -26,11 +26,6 @@
*
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
-
#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
diff --git a/tests/transformation_check.c b/tests/transformation_check.c
index bb835f4d..95b3a7b2 100644
--- a/tests/transformation_check.c
+++ b/tests/transformation_check.c
@@ -26,11 +26,6 @@
*
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
-
#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
diff --git a/tests/wavelength_geom.c b/tests/wavelength_geom.c
index 3a371ad1..8bf86a74 100644
--- a/tests/wavelength_geom.c
+++ b/tests/wavelength_geom.c
@@ -26,11 +26,6 @@
*
*/
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
-
#include <stdio.h>
#include <stdarg.h>
#include <string.h>