Navigation Menu

Skip to content

Commit

Permalink
test: support --record
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Apr 3, 2018
1 parent b497b07 commit dddfcb5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion test/run-sql-test.sh
@@ -1,7 +1,7 @@
#!/bin/sh
#
# Copyright(C) 2010 Tetsuro IKEDA
# Copyright(C) 2010-2017 Kouhei Sutou <kou@clear-code.com>
# Copyright(C) 2010-2018 Kouhei Sutou <kou@clear-code.com>
# Copyright(C) 2011 Kazuhiko
#
# This library is free software; you can redistribute it and/or
Expand Down Expand Up @@ -181,6 +181,11 @@ while [ $# -gt 0 ]; do
n_processors=1
mysql_test_run_options="${mysql_test_run_options} ${arg}"
;;
--record)
mysql_test_run_options="${mysql_test_run_options} ${arg}"
mysql_test_run_options="${mysql_test_run_options} $1"
shift
;;
--*)
mysql_test_run_options="${mysql_test_run_options} ${arg}"
;;
Expand Down

0 comments on commit dddfcb5

Please sign in to comment.