Skip to content

Commit baf7450

Browse files
authored
Merge pull request #34 from yusuf601/feat/tail_pointer
chore: menambahkan shell scrip build test failed
2 parents 1e38a64 + 5e0fa2f commit baf7450

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

build_failed.sh

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
build(){
2+
# 1) Configure & build (seperti biasa)
3+
cmake -S . -B build
4+
cmake --build build -j
5+
6+
# 2) Jalankan semua test sekali dulu (buat merekam yang gagal)
7+
ctest --test-dir build --output-on-failure
8+
9+
# 3) Rerun hanya test yang gagal barusan
10+
ctest --test-dir build --rerun-failed -V --output-on-failure
11+
12+
}
13+
build

0 commit comments

Comments
 (0)