blob: 38c3a3b4c2ba2981604cb362c819f83830bfd421 [file] [log] [blame]
Bertrand SIMONNET0a78e9e2015-06-23 10:59:55 -07001# Copyright (C) 2015 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
Ari Hausman-Cohencc76bff2015-08-11 17:25:27 -070015# Run unit tests on target
16# ========================================================
17# We su shell because process tests try setting "illegal"
18# uid/gids and expecting failures, but root can legally
19# set those to any value.
Alex Vakulenkofed60b02015-10-27 09:53:05 -070020runtargettests: libbrillo_test
Ari Hausman-Cohencc76bff2015-08-11 17:25:27 -070021 adb sync
Alex Vakulenkofed60b02015-10-27 09:53:05 -070022 adb shell su shell /data/nativetest/libbrillo_test/libbrillo_test