blob: 14050187a1140eca1f601270f6f9c8c3b7851d05 [file] [log] [blame]
Daniel Erat9923eb02010-04-06 18:57:00 -07001#!/bin/bash
2
3# Copyright (c) 2009 The Chromium OS Authors. All rights reserved.
4# Use of this source code is governed by a BSD-style license that can be
5# found in the LICENSE file.
6
7# Builds tests.
8
9SCRIPT_DIR=`dirname "$0"`
10SCRIPT_DIR=`readlink -f "$SCRIPT_DIR"`
11
12BUILD_ROOT=${BUILD_ROOT:-${SCRIPT_DIR}/../../../src/build}
13OUT_DIR=${BUILD_ROOT}/x86/tests
14mkdir -p ${OUT_DIR}
15
16pushd $SCRIPT_DIR
17
18scons minijail_unittests
19cp minijail_unittests ${OUT_DIR}
20
21popd