author | Mike Sullivan <Mike.Sullivan@Oracle.COM> |
Wed, 05 Aug 2015 10:48:38 -0700 | |
changeset 4742 | 8f6fdd91de07 |
parent 3536 | 9d36b040ae85 |
permissions | -rw-r--r-- |
3536
9d36b040ae85
20193442 gd2 should hook up its tests
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
1 |
Changes needed to get gd2 tests working. |
9d36b040ae85
20193442 gd2 should hook up its tests
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
2 |
|
9d36b040ae85
20193442 gd2 should hook up its tests
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
3 |
This change needs to be further evaluated to see if it should be passed |
9d36b040ae85
20193442 gd2 should hook up its tests
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
4 |
upstream. |
9d36b040ae85
20193442 gd2 should hook up its tests
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
5 |
|
9d36b040ae85
20193442 gd2 should hook up its tests
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
6 |
--- tests/gdimageline/CMakeLists.txt.orig 2014-12-10 16:08:04.845700212 -0800 |
9d36b040ae85
20193442 gd2 should hook up its tests
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
7 |
+++ tests/gdimageline/CMakeLists.txt 2014-12-10 16:07:38.129451205 -0800 |
9d36b040ae85
20193442 gd2 should hook up its tests
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
8 |
@@ -7,6 +7,6 @@ |
9d36b040ae85
20193442 gd2 should hook up its tests
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
9 |
|
9d36b040ae85
20193442 gd2 should hook up its tests
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
10 |
FOREACH(test_name ${TESTS_FILES}) |
9d36b040ae85
20193442 gd2 should hook up its tests
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
11 |
add_executable(${test_name} "${test_name}.c") |
9d36b040ae85
20193442 gd2 should hook up its tests
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
12 |
- target_link_libraries (${test_name} gdTest ${GD_LIB}) |
9d36b040ae85
20193442 gd2 should hook up its tests
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
13 |
+ target_link_libraries (${test_name} gdTest ${GD_LIB} "-lm") |
9d36b040ae85
20193442 gd2 should hook up its tests
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
14 |
ADD_TEST(${test_name} ${EXECUTABLE_OUTPUT_PATH}/${test_name}) |
9d36b040ae85
20193442 gd2 should hook up its tests
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
15 |
ENDFOREACH(test_name) |