blob: 4a6b25a44bf057cf8a98ba8373670d21cfe2b6fe [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/test_runner/src/run_test "device_runner --user_shell=dev_user_shell --user_shell_args=--root_module=/system/apps/modular_tests/parent_module"