blob: d11a0c4e5f3fc690da2eff712eb405f291c44e19 [file] [log] [blame]
Girish Gowdraddf9a162020-01-27 12:56:27 +05301#Copyright 2018-present Open Networking Foundation
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
15########################################################################
16
17# This Makefile provides hook for Jenkins to invoke the test target for
18# CI integration.
19# The main Makefile for product compilation is available at
20# agent/Makefile.in. Please see README.md for more details.
21
22# The unit tests require certain pre-requisite software for compilation
23# and execution. Please see agent/test/README.md for more details.
24
25.DEFAULT_GOAL := test
26
27prereqs-system:
28 cd agent/test && ./configure
29 make -C agent/test prereqs-system
30
31prereqs-local:
32 cd agent/test && ./configure
33 make -C agent/test prereqs-local
34
35# Invoke unit-tests
36test:
37 cd agent/test && ./configure
38 make -C agent/test test