Laszlo Csomor | 9a93377 | 2018-08-14 08:29:29 -0700 | [diff] [blame] | 1 | // Copyright 2018 The Bazel Authors. All rights reserved. |
| 2 | // |
| 3 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | // you may not use this file except in compliance with the License. |
| 5 | // You may obtain a copy of the License at |
| 6 | // |
| 7 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | // |
| 9 | // Unless required by applicable law or agreed to in writing, software |
| 10 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | // See the License for the specific language governing permissions and |
| 13 | // limitations under the License. |
| 14 | |
| 15 | // Empty implementation of the test wrapper. |
| 16 | // |
| 17 | // As of 2018-08-10, every platform uses //tools/test:test-setup.sh as the test |
| 18 | // wrapper, and we are working on introducing a C++ test wrapper for Windows. |
| 19 | // See |
| 20 | // https://github.com/laszlocsomor/proposals/blob/win-test-runner/designs/2018-07-18-windows-native-test-runner.md |
| 21 | |
| 22 | #include <stdio.h> |
| 23 | |
| 24 | int main(int, char**) { |
| 25 | fprintf(stderr, |
| 26 | __FILE__ ": The C++ test wrapper is not used on this platform.\n"); |
| 27 | return 1; |
| 28 | } |