| OLD | NEW |
| 1 // Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 1 // Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. |
| 2 // | 2 // |
| 3 // Use of this source code is governed by a BSD-style license | 3 // Use of this source code is governed by a BSD-style license |
| 4 // that can be found in the LICENSE file in the root of the source | 4 // that can be found in the LICENSE file in the root of the source |
| 5 // tree. An additional intellectual property rights grant can be found | 5 // tree. An additional intellectual property rights grant can be found |
| 6 // in the file PATENTS. All contributing project authors may | 6 // in the file PATENTS. All contributing project authors may |
| 7 // be found in the AUTHORS file in the root of the source tree. | 7 // be found in the AUTHORS file in the root of the source tree. |
| 8 // | 8 // |
| 9 // This script loads all the test/* files into a very small context that | 9 // This script loads all the test/* files into a very small context that |
| 10 // only exposes a minimal set of functions that allows to register tests. | 10 // only exposes a minimal set of functions that allows to register tests. |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 function main() { | 93 function main() { |
| 94 // TODO(andresp): support multiple tests. | 94 // TODO(andresp): support multiple tests. |
| 95 var testList = process.argv.slice(2); | 95 var testList = process.argv.slice(2); |
| 96 if (testList.length === 1) | 96 if (testList.length === 1) |
| 97 runTest(testList[0]); | 97 runTest(testList[0]); |
| 98 else | 98 else |
| 99 printUsage(); | 99 printUsage(); |
| 100 } | 100 } |
| 101 | 101 |
| 102 iterateOverTestFiles(loadTestFile, main); | 102 iterateOverTestFiles(loadTestFile, main); |
| OLD | NEW |