4paradigm / 4paradigm/OpenMLDB

Add a test to compile all test binaries

Open
#231 1 comment 0 reactions 0 assignees View on GitHub
build test
Dominant language
C++
Stars
1.7k
Forks
331
Avg merge
12d 12h
Merged PRs (30d)
1

Description

**Is your feature request related to a problem? Please describe.**

Many test targets look like `*_test`, but no target to compile all those test at once.
Give more fine-grained control over make targets especially when `coverage` and `example` are enabled.

**Describe the solution you'd like**
change CMakeLists

**Describe alternatives you've considered**
Nop

Contributor guide

Open the contributing guide

Research direction

Look at the CMakeLists.txt files to understand the current test target naming pattern (likely '*_test'). Identify where test binaries are defined and add a new target that depends on all of them. Verify by building the new target and ensuring all test binaries compile.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, cpp
Domain
build-system, testing
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.