[Groonga-commit] groonga/gcs [master] Output the path of the used scenarios file

Back to archive index

YUKI Hiroshi null+****@clear*****
Fri Nov 9 12:49:37 JST 2012


YUKI Hiroshi	2012-11-09 12:49:37 +0900 (Fri, 09 Nov 2012)

  New Revision: cfdd08f8bed959608bfa9088c5917a71b11efc6f
  https://github.com/groonga/gcs/commit/cfdd08f8bed959608bfa9088c5917a71b11efc6f

  Log:
    Output the path of the used scenarios file

  Modified files:
    bin/gcs-run-scenarios

  Modified: bin/gcs-run-scenarios (+3 -1)
===================================================================
--- bin/gcs-run-scenarios    2012-11-09 12:46:14 +0900 (e81a44d)
+++ bin/gcs-run-scenarios    2012-11-09 12:49:37 +0900 (0077090)
@@ -37,7 +37,9 @@ if (!commandLine.options.scenarios ||
                          'by "--scenarios" option.');
 }
 
-var scenarios = JSON.parse(fs.readFileSync(scenariosFile));
+console.log('Scenarios file: ' + scenariosFile);
+var scenarios = fs.readFileSync(scenariosFile);
+scenarios = JSON.parse(scenarios);
 
 var statusCodeTable = {
   404: 'Not Found',
-------------- next part --------------
HTML����������������������������...
下载 



More information about the Groonga-commit mailing list
Back to archive index