mirror of
https://github.com/reactos/ahk_tests.git
synced 2024-11-27 05:20:25 +00:00
313ba11941
Do not execute anything when '--list' parameter passed. svn path=/trunk/ahk_tests/; revision=1939
53 lines
1.3 KiB
AutoHotkey
53 lines
1.3 KiB
AutoHotkey
/*
|
|
* Designed for PuTTY 0.62
|
|
* Copyright (C) 2012 Edijs Kolesnikovics
|
|
*
|
|
* This library 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 2.1 of the License, or (at your option) any later version.
|
|
*
|
|
* This library 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 this library; if not, write to the Free Software
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
*/
|
|
|
|
#Include ..\..\helper_functions.ahk
|
|
InitalizeCounters()
|
|
|
|
params =
|
|
(
|
|
|
|
1.install
|
|
2.telnet
|
|
|
|
)
|
|
|
|
if CheckParam()
|
|
{
|
|
; Those brackets are required!
|
|
if 1 = 1.install
|
|
{
|
|
#include install_test.ahk
|
|
}
|
|
else
|
|
{
|
|
if 1 != --list
|
|
{
|
|
#include prepare.ahk
|
|
|
|
if 1 = 2.telnet
|
|
{
|
|
#include telnet.ahk
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
ShowTestResults()
|