Files
OpenCellular/include/host_test.h
Vic Yang 99e4a97798 Reboot emulator with execv()
With this, the emulator is able to reboot itself without the help of
run_host_test script. This makes it easier for development and also
speeds up the test.

BUG=chrome-os-partner:19235
TEST=Pass all tests
BRANCH=None

Change-Id: Ifa510442de19256c671ab91b6bc75fe9e8b9dc7b
Signed-off-by: Vic Yang <victoryang@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/62969
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
2013-07-24 15:50:19 -07:00

18 lines
443 B
C

/* Copyright (c) 2013 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.
*/
/* Unit testing for Chrome EC */
#ifndef __CROS_EC_HOST_TEST_H
#define __CROS_EC_HOST_TEST_H
/* Emulator exit codes */
#define EXIT_CODE_HIBERNATE (1 << 7)
/* Get emulator executable name */
const char *__get_prog_name(void);
#endif /* __CROS_EC_HOST_TEST_H */