summaryrefslogtreecommitdiff
path: root/test/cairo-test-runner.c
diff options
context:
space:
mode:
authorM Joonas Pihlaja <jpihlaja@cc.helsinki.fi>2009-05-24 16:19:31 +0300
committerM Joonas Pihlaja <jpihlaja@cc.helsinki.fi>2009-06-18 15:39:16 +0100
commitcdd27a8d4cc3486867cff4ce81bb4e064eb74d58 (patch)
tree6f37933d4b12b08c164210851e8b7b8dd424d68a /test/cairo-test-runner.c
parent46eb56a99f72b364e3eabe46f9b2995ed0696bd3 (diff)
downloadcairo-cdd27a8d4cc3486867cff4ce81bb4e064eb74d58.tar.gz
[test] Never use gcc __attribute__ magic for constructors.
The configure test for __attribute__((constructor)) succeeds when compiling with Sun Studio 12 on OpenSolaris but the attribute is just ignored and has no actual effect. This causes the test suite to not run any tests at all. With this patch we revert to always using make-cairo-test-constructors.pl.
Diffstat (limited to 'test/cairo-test-runner.c')
-rw-r--r--test/cairo-test-runner.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/cairo-test-runner.c b/test/cairo-test-runner.c
index 7476d1ef6..2eb2986e0 100644
--- a/test/cairo-test-runner.c
+++ b/test/cairo-test-runner.c
@@ -599,9 +599,7 @@ main (int argc, char **argv)
_CrtSetReportFile(_CRT_ERROR, _CRTDBG_FILE_STDERR);
#endif
-#ifndef CAIRO_HAS_CONSTRUCTOR_ATTRIBUTE
_cairo_test_runner_register_tests ();
-#endif
memset (&runner, 0, sizeof (runner));
runner.num_device_offsets = 1;