blob: dc3ea6b5deadfd608c3dd99edfc4e14248f35929 [file] [log] [blame]
#!/bin/bash
# Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
if [ -z $DISPLAY ]; then
export DISPLAY="0.0"
fi
cd "$(readlink -f "$(dirname "$0")/..")"
if [ -z "$CHROME_TEST_PROFILE" ]; then
CHROME_TEST_PROFILE=$HOME/.config/google-chrome-run_local
fi
mkdir -p $CHROME_TEST_PROFILE
./bin/mkdist.sh
google-chrome \
"file:///$(pwd)/html/hterm_test.html" \
--allow-file-access-from-files \
--unlimited-quota-for-files \
--user-data-dir=$CHROME_TEST_PROFILE \
&>/dev/null </dev/null &