@echo off
:: Copyright 2009 Google Inc. All Rights Reserved.
::
:: Licensed under the Apache License, Version 2.0 (the "License");
:: you may not use this file except in compliance with the License.
:: You may obtain a copy of the License at
::
::     http://www.apache.org/licenses/LICENSE-2.0
::
:: Unless required by applicable law or agreed to in writing, software
:: distributed under the License is distributed on an "AS IS" BASIS,
:: WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
:: See the License for the specific language governing permissions and
:: limitations under the License.
set PYTHON="%~dp0..\third_party\python_26\python.exe"
set SCRIPT="%~dp0tests\run_all_tests.py"
set INTERNAL_TESTS="%~dp0internal\run_all_tests.bat"

%PYTHON% %SCRIPT% %*

IF EXIST %INTERNAL_TESTS% (
%INTERNAL_TESTS% %*
)

@echo off
:: Copyright 2009 Google Inc. All Rights Reserved.
::
:: Licensed under the Apache License, Version 2.0 (the "License");
:: you may not use this file except in compliance with the License.
:: You may obtain a copy of the License at
::
::     http://www.apache.org/licenses/LICENSE-2.0
::
:: Unless required by applicable law or agreed to in writing, software
:: distributed under the License is distributed on an "AS IS" BASIS,
:: WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
:: See the License for the specific language governing permissions and
:: limitations under the License.
set SYZYGY_PYTHON="%~dp0..\third_party\python_26\python.exe"
set SYZYGY_SCRIPT="%~dp0tests\run_all_tests.py"
set SYZYGY_INTERNAL_TESTS="%~dp0internal\run_all_tests.bat"

%SYZYGY_PYTHON% %SYZYGY_SCRIPT% %*

IF EXIST %SYZYGY_INTERNAL_TESTS% (
%SYZYGY_INTERNAL_TESTS% %*
)

set SYZYGY_PYTHON=
set SYZYGY_SCRIPT=
set SYZYGY_INTERNAL_TESTS=

Fix run_all_test script to avoid git-cl variable clashes.
Fix run_all_test script to avoid git-cl variable clashes.

A recent update to git-cl seems to use the same variable
SCRIPT, etc...

After running run_all_tests, the git-cl script won't work until you unset
the variables or close your shell.

Unsetting the variable is enough, but it's safer to use a new name in
case the script crashes.

R=chrisha@chromium.org, chrisha

BUG=

Review URL: https://codereview.appspot.com/74770043

git-svn-id: db59699583a60be9a535cd09cdc9132301867226@2072 15e8cca8-e42c-11de-a347-f34a4f72eb7d
