-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' of https://github.com/david-cattermole/mayaMat…
…chMoveSolver into develop
- Loading branch information
Showing
8 changed files
with
298 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
@ECHO OFF | ||
SETLOCAL | ||
:: | ||
:: Copyright (C) 2024 David Cattermole. | ||
:: | ||
:: This file is part of mmSolver. | ||
:: | ||
:: mmSolver is free software: you can redistribute it and/or modify it | ||
:: under the terms of the GNU Lesser General Public License as | ||
:: published by the Free Software Foundation, either version 3 of the | ||
:: License, or (at your option) any later version. | ||
:: | ||
:: mmSolver is distributed in the hope that it will be useful, | ||
:: but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
:: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
:: GNU Lesser General Public License for more details. | ||
:: | ||
:: You should have received a copy of the GNU Lesser General Public License | ||
:: along with mmSolver. If not, see <https://www.gnu.org/licenses/>. | ||
:: --------------------------------------------------------------------- | ||
:: | ||
:: Runs tests via the Maya Python Interpreter. | ||
:: | ||
:: NOTE: This file is intended as a short-cut rather than having to | ||
:: find and type the full path to 'mayapy.exe' on Windows. On Linux, | ||
:: `mayapy` should be set for your environment (assuming you have an | ||
:: environment managed). | ||
|
||
|
||
:: The root of this project. | ||
SET PROJECT_ROOT=%CD% | ||
ECHO Project Root: %PROJECT_ROOT% | ||
|
||
:: Path to Maya Python interpreter. | ||
SET MAYA_EXE="%PROGRAMFILES%\Autodesk\Maya2020\bin\mayapy.exe" | ||
|
||
:: Run tests. | ||
%MAYA_EXE% %PROJECT_ROOT%\tests\runTests.py %* | ||
if errorlevel 1 goto tests_failed | ||
|
||
:: Successful return. | ||
exit /b 0 | ||
|
||
:tests_failed | ||
echo mmSolver tests failed! | ||
exit /b 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
@ECHO OFF | ||
SETLOCAL | ||
:: | ||
:: Copyright (C) 2024 David Cattermole. | ||
:: | ||
:: This file is part of mmSolver. | ||
:: | ||
:: mmSolver is free software: you can redistribute it and/or modify it | ||
:: under the terms of the GNU Lesser General Public License as | ||
:: published by the Free Software Foundation, either version 3 of the | ||
:: License, or (at your option) any later version. | ||
:: | ||
:: mmSolver is distributed in the hope that it will be useful, | ||
:: but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
:: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
:: GNU Lesser General Public License for more details. | ||
:: | ||
:: You should have received a copy of the GNU Lesser General Public License | ||
:: along with mmSolver. If not, see <https://www.gnu.org/licenses/>. | ||
:: --------------------------------------------------------------------- | ||
:: | ||
:: Runs tests via the Maya Python Interpreter. | ||
:: | ||
:: NOTE: This file is intended as a short-cut rather than having to | ||
:: find and type the full path to 'mayapy.exe' on Windows. On Linux, | ||
:: `mayapy` should be set for your environment (assuming you have an | ||
:: environment managed). | ||
|
||
|
||
:: The root of this project. | ||
SET PROJECT_ROOT=%CD% | ||
ECHO Project Root: %PROJECT_ROOT% | ||
|
||
:: Path to Maya Python interpreter. | ||
SET MAYA_EXE="%PROGRAMFILES%\Autodesk\Maya2022\bin\mayapy.exe" | ||
|
||
:: Run tests. | ||
%MAYA_EXE% %PROJECT_ROOT%\tests\runTests.py %* | ||
if errorlevel 1 goto tests_failed | ||
|
||
:: Successful return. | ||
exit /b 0 | ||
|
||
:tests_failed | ||
echo mmSolver tests failed! | ||
exit /b 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
@ECHO OFF | ||
SETLOCAL | ||
:: | ||
:: Copyright (C) 2024 David Cattermole. | ||
:: | ||
:: This file is part of mmSolver. | ||
:: | ||
:: mmSolver is free software: you can redistribute it and/or modify it | ||
:: under the terms of the GNU Lesser General Public License as | ||
:: published by the Free Software Foundation, either version 3 of the | ||
:: License, or (at your option) any later version. | ||
:: | ||
:: mmSolver is distributed in the hope that it will be useful, | ||
:: but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
:: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
:: GNU Lesser General Public License for more details. | ||
:: | ||
:: You should have received a copy of the GNU Lesser General Public License | ||
:: along with mmSolver. If not, see <https://www.gnu.org/licenses/>. | ||
:: --------------------------------------------------------------------- | ||
:: | ||
:: Runs tests via the Maya Python Interpreter. | ||
:: | ||
:: NOTE: This file is intended as a short-cut rather than having to | ||
:: find and type the full path to 'mayapy.exe' on Windows. On Linux, | ||
:: `mayapy` should be set for your environment (assuming you have an | ||
:: environment managed). | ||
|
||
|
||
:: The root of this project. | ||
SET PROJECT_ROOT=%CD% | ||
ECHO Project Root: %PROJECT_ROOT% | ||
|
||
:: Path to Maya Python interpreter. | ||
SET MAYA_EXE="%PROGRAMFILES%\Autodesk\Maya2023\bin\mayapy.exe" | ||
|
||
:: Run tests. | ||
%MAYA_EXE% %PROJECT_ROOT%\tests\runTests.py %* | ||
if errorlevel 1 goto tests_failed | ||
|
||
:: Successful return. | ||
exit /b 0 | ||
|
||
:tests_failed | ||
echo mmSolver tests failed! | ||
exit /b 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
@ECHO OFF | ||
SETLOCAL | ||
:: | ||
:: Copyright (C) 2024 David Cattermole. | ||
:: | ||
:: This file is part of mmSolver. | ||
:: | ||
:: mmSolver is free software: you can redistribute it and/or modify it | ||
:: under the terms of the GNU Lesser General Public License as | ||
:: published by the Free Software Foundation, either version 3 of the | ||
:: License, or (at your option) any later version. | ||
:: | ||
:: mmSolver is distributed in the hope that it will be useful, | ||
:: but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
:: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
:: GNU Lesser General Public License for more details. | ||
:: | ||
:: You should have received a copy of the GNU Lesser General Public License | ||
:: along with mmSolver. If not, see <https://www.gnu.org/licenses/>. | ||
:: --------------------------------------------------------------------- | ||
:: | ||
:: Runs tests via the Maya Python Interpreter. | ||
:: | ||
:: NOTE: This file is intended as a short-cut rather than having to | ||
:: find and type the full path to 'mayapy.exe' on Windows. On Linux, | ||
:: `mayapy` should be set for your environment (assuming you have an | ||
:: environment managed). | ||
|
||
|
||
:: The root of this project. | ||
SET PROJECT_ROOT=%CD% | ||
ECHO Project Root: %PROJECT_ROOT% | ||
|
||
:: Path to Maya Python interpreter. | ||
SET MAYA_EXE="%PROGRAMFILES%\Autodesk\Maya2024\bin\mayapy.exe" | ||
|
||
:: Run tests. | ||
%MAYA_EXE% %PROJECT_ROOT%\tests\runTests.py %* | ||
if errorlevel 1 goto tests_failed | ||
|
||
:: Successful return. | ||
exit /b 0 | ||
|
||
:tests_failed | ||
echo mmSolver tests failed! | ||
exit /b 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
@ECHO OFF | ||
SETLOCAL | ||
:: | ||
:: Copyright (C) 2024 David Cattermole. | ||
:: | ||
:: This file is part of mmSolver. | ||
:: | ||
:: mmSolver is free software: you can redistribute it and/or modify it | ||
:: under the terms of the GNU Lesser General Public License as | ||
:: published by the Free Software Foundation, either version 3 of the | ||
:: License, or (at your option) any later version. | ||
:: | ||
:: mmSolver is distributed in the hope that it will be useful, | ||
:: but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
:: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
:: GNU Lesser General Public License for more details. | ||
:: | ||
:: You should have received a copy of the GNU Lesser General Public License | ||
:: along with mmSolver. If not, see <https://www.gnu.org/licenses/>. | ||
:: --------------------------------------------------------------------- | ||
:: | ||
:: Runs tests via the Maya Python Interpreter. | ||
:: | ||
:: NOTE: This file is intended as a short-cut rather than having to | ||
:: find and type the full path to 'mayapy.exe' on Windows. On Linux, | ||
:: `mayapy` should be set for your environment (assuming you have an | ||
:: environment managed). | ||
|
||
|
||
:: The root of this project. | ||
SET PROJECT_ROOT=%CD% | ||
ECHO Project Root: %PROJECT_ROOT% | ||
|
||
:: Path to Maya Python interpreter. | ||
SET MAYA_EXE="%PROGRAMFILES%\Autodesk\Maya2025\bin\mayapy.exe" | ||
|
||
:: Run tests. | ||
%MAYA_EXE% %PROJECT_ROOT%\tests\runTests.py %* | ||
if errorlevel 1 goto tests_failed | ||
|
||
:: Successful return. | ||
exit /b 0 | ||
|
||
:tests_failed | ||
echo mmSolver tests failed! | ||
exit /b 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters