Bug 1309157 - Looks for hypot in libm instead of libc in conversion-native-function.js. r=arai
authorPetr Sumbera <petr.sumbera@oracle.com>
Tue, 11 Oct 2016 02:18:53 -0700
changeset 360387 9fd0ce9fbf2bb74c2d922c59150ec49ba0e6f627
parent 360386 0edddcd4c24bfe075677520b3ed38c798e993265
child 360388 7eeb973656fa9465e1ed749a6fecdb388e9471cb
push id6795
push userjlund@mozilla.com
push dateMon, 23 Jan 2017 14:19:46 +0000
treeherdermozilla-beta@76101b503191 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersarai
bugs1309157
milestone52.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1309157 - Looks for hypot in libm instead of libc in conversion-native-function.js. r=arai
js/src/jit-test/tests/ctypes/conversion-native-function.js
--- a/js/src/jit-test/tests/ctypes/conversion-native-function.js
+++ b/js/src/jit-test/tests/ctypes/conversion-native-function.js
@@ -1,17 +1,17 @@
 // Type conversion error for native function should report its name and type
 // in C style.
 
 load(libdir + 'asserts.js');
 
 function test() {
   let lib;
   try {
-    lib = ctypes.open(ctypes.libraryName("c"));
+    lib = ctypes.open(ctypes.libraryName("m"));
   } catch (e) {
   }
   if (!lib)
     return;
 
   let func = lib.declare("hypot",
                          ctypes.default_abi,
                          ctypes.double,