1 // Copyright 2015 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
11 // Filter load paths in the ecmascript_simd tests that
12 // assume the test is run with a current working directory
13 // set to the directory containing the test.
14 load = function(filename) {
15 // Decide if this is the compliance test or the benchmarks.
16 if (filename === 'ecmascript_simd.js' ||
17 filename === 'ecmascript_simd_tests.js') {
18 _oldLoad('test/simdjs/data/src/' + filename);
20 _oldLoad('test/simdjs/data/src/benchmarks/' + filename);
24 // TODO(bbudge): Drop when polyfill is not needed.
25 load('ecmascript_simd.js');