logo
0
0
WeChat Login

aging

This project is a aging project that includes a TCP/Websocket/... for communication over a network. It allows multiple clients to connect to the server and execute defined TestCases.

Table of Contents

Introduction

This project is designed using mutil protocol to split upper layer and lower layer. Upper layer means Tester who decide test case, while lower layer means the objects who were tested.

+-----------------+ +----------------+ +--------------------+ | | | | | | | | TCP/Websocket/... | | TCP/CAN/UART/... | | | Tester +-----------------------+ Aging +-------------------------+ SRC5000 | | | | | | | | | | | | | +-----------------+ +----------------+ +--------------------+

Installation

To use this project, follow these steps:

  1. Clone the project repository from git:

    git clone https://e.coding.net/seer-group/src5000/aging.git
  2. Install the required dependencies. This project relies on cmake, please install it using your package manager or build it from source.

    sudo apt-get install cmake -y --fix-missing
  3. Build the project using a C++ compiler. You can use CMake or any other build system of your choice. Refer to Usage for detailed steps.

Usage

  1. Please enable pre-commit if you want to use git commit.

    $ bash enable-pre-commit.sh
  2. Compile the project using CMake or any other build system of your choice. Here we provide shell script to build the project.

    bash build.sh
  3. Example usage, here will built some bin:

    ➜ Aging git:(master) ✗ ll build/bin total 6.5M -rwxr-xr-x 1 tinska tinska 1.4M 7月 23 15:39 aging # aging program -rwxr-xr-x 1 tinska tinska 3.1M 7月 23 15:39 aging_gtests # aging gtest -rwxr-xr-x 1 tinska tinska 737K 7月 23 15:39 tcp_tester_demo # tcp tester demo -rwxr-xr-x 1 tinska tinska 1.3M 7月 23 15:39 ws_tester_demo # ws tester demo

Reference

About

基于linux的老化工装项目

Language
CMake1.5%
C++1.4%
HTML1.1%
Shell0.5%
Others95.5%