blob: 682c145ef5200f215cac96ccddca7bdd8572e16b [file] [log] [blame]
#!/bin/sh
# Copyright 2017 The Fuchsia Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Raw set of commands used to invoke the parent_child test.
# Eventually it would be nice to make tests configuration driven.
if [ "${FUCHSIA_BUILD_DIR}" = "" ]; then
echo "Please source //scripts/env.sh and run fset."
exit -1;
fi
netcp ${FUCHSIA_BUILD_DIR}/parent_module :/system/apps/modular_tests/parent_module
netcp ${FUCHSIA_BUILD_DIR}/child_module :/system/apps/modular_tests/child_module
${FUCHSIA_DIR}/apps/modular/src/test_runner/run_test "bootstrap device_runner --user_shell=dev_user_shell --user_shell_args=--root_module=/system/apps/modular_tests/parent_module"