| REM |
| REM Copyright (c) 2016, The OpenThread Authors. |
| REM All rights reserved. |
| REM |
| REM Redistribution and use in source and binary forms, with or without |
| REM modification, are permitted provided that the following conditions are met: |
| REM 1. Redistributions of source code must retain the above copyright |
| REM notice, this list of conditions and the following disclaimer. |
| REM 2. Redistributions in binary form must reproduce the above copyright |
| REM notice, this list of conditions and the following disclaimer in the |
| REM documentation and/or other materials provided with the distribution. |
| REM 3. Neither the name of the copyright holder nor the |
| REM names of its contributors may be used to endorse or promote products |
| REM derived from this software without specific prior written permission. |
| REM |
| REM THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
| REM AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
| REM IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
| REM ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE |
| REM LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
| REM CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
| REM SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
| REM INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
| REM CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
| REM ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
| REM POSSIBILITY OF SUCH DAMAGE. |
| REM |
| |
| IF NOT "%Platform%"=="x64" GOTO :EOF |
| |
| pushd %APPVEYOR_BUILD_FOLDER%\release |
| |
| REM Query the driver state |
| |
| sc query otlwf |
| |
| REM Run the basic driver test |
| |
| otTestRunner.exe ..\tests\scripts\thread-cert Test_otLwf* appveyor |
| |
| REM Grab the logs |
| |
| mkdir logs |
| logman stop Thread -ets |
| copy %SystemRoot%\System32\LogFiles\WMI\Thread.* logs |
| |
| popd |