2021-09-03 03:23:16 +03:00
|
|
|
@echo off
|
2024-05-04 22:55:56 +03:00
|
|
|
rem Copyright (c) eBPF for Windows contributors
|
2021-09-03 03:23:16 +03:00
|
|
|
rem SPDX-License-Identifier: MIT
|
2023-01-27 08:25:23 +03:00
|
|
|
|
|
|
|
@echo ==============================
|
|
|
|
@echo Clean up & Populate eBPF Store.
|
|
|
|
@echo ==============================
|
|
|
|
export_program_info.exe --clear
|
|
|
|
export_program_info.exe
|
2023-12-08 00:10:19 +03:00
|
|
|
export_program_info_sample.exe --clear
|
|
|
|
export_program_info_sample.exe
|
2022-07-01 02:53:03 +03:00
|
|
|
@echo =====================
|
2021-09-03 03:23:16 +03:00
|
|
|
@echo Executing Unit Tests.
|
|
|
|
@echo =====================
|
|
|
|
.\unit_tests.exe
|
2021-09-10 03:01:52 +03:00
|
|
|
@if ERRORLEVEL 1 goto EOF
|
2021-09-03 03:23:16 +03:00
|
|
|
@echo ====================
|
|
|
|
@echo Executing API Tests.
|
|
|
|
@echo ====================
|
|
|
|
.\api_test.exe
|
2021-09-10 03:01:52 +03:00
|
|
|
@if ERRORLEVEL 1 goto EOF
|
2021-09-03 03:23:16 +03:00
|
|
|
@echo =================================
|
|
|
|
@echo Executing Sample Extension Tests.
|
|
|
|
@echo =================================
|
|
|
|
.\sample_ext_app.exe
|
2021-09-10 03:01:52 +03:00
|
|
|
@if ERRORLEVEL 1 goto EOF
|
2022-04-21 01:59:17 +03:00
|
|
|
@echo ====================
|
|
|
|
@echo Executing Bpftool Tests.
|
|
|
|
@echo ====================
|
|
|
|
.\bpftool_tests.exe
|
|
|
|
@if ERRORLEVEL 1 goto EOF
|
2021-09-03 03:23:16 +03:00
|
|
|
goto EOF
|
2023-01-27 08:25:23 +03:00
|
|
|
|
|
|
|
:SUCCESS
|
|
|
|
@echo TESTS PASSED!
|
2024-05-04 22:55:56 +03:00
|
|
|
:EOF
|