Results 1 to 2 of 2

Thread: Add @echo off to phoronix-test-suite.bat

  1. #1
    Join Date
    May 2007
    Location
    Third Rock from the Sun
    Posts
    6,530

    Default Add @echo off to phoronix-test-suite.bat

    Hey Micheal,

    Just poking around on the windows PTS. You might want to add a

    Code:
    @echo off
    to suppress the batch file execution lines.

    Code:
    ::    Phoronix Test Suite
    ::    URLs: http://www.phoronix.com, http://www.phoronix-test-suite.com/
    ::    Copyright (C) 2008 - 2010, Phoronix Media
    ::    Copyright (C) 2008 - 2010, Michael Larabel
    ::    phoronix-test-suite: The Phoronix Test Suite is an extensible open-source testing / benchmarking platform
    ::
    ::    This program is free software; you can redistribute it and/or modify
    ::    it under the terms of the GNU General Public License as published by
    ::    the Free Software Foundation; either version 3 of the License, or
    ::    (at your option) any later version.
    ::
    ::    This program 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 General Public License for more details.
    ::
    ::    You should have received a copy of the GNU General Public License
    ::    along with this program. If not, see <http://www.gnu.org/licenses/>.
    ::
    
    :: Full path to root directory of the actual Phoronix Test Suite code
    @echo off
    set PTS_DIR=%pwd%
    set PTS_MODE=CLIENT
    
    :: TODO: Other work to bring this up to sync with the *NIX phoronix-test-suite launcher
    
    If exist "C:\Program Files (x86)\PHP"\php set PHP_BIN="C:\Program Files (x86)\PHP"\php
    If exist C:\php-gtk2\php set PHP_BIN=C:\php-gtk2\php
    set PHP_BIN="C:\Program Files (x86)\PHP"\php
    
    If not defined PHP_BIN echo "\nPHP could not be found.\n" else cls
    %PHP_BIN% pts-core/phoronix-test-suite.php %*

  2. #2

    Default

    Will do, thanks.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •