Skip to content

Commit 3e36f61

Browse files
committed
Restore deleted test files and Makefile dependencies
- Restore tests/client_constructor_mock.stub.php and other test files - Revert Makefile.frag to include necessary arginfo generation - Fix PIE installation by ensuring all required files are present Signed-off-by: James Duong <[email protected]>
1 parent e331727 commit 3e36f61

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Makefile.frag

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ GEN_INCLUDE_DIR = include/glide
2020
GEN_SRC_DIR = src
2121

2222
# Force header generation before any compilation
23-
$(shared_objects_valkey_glide): include/glide_bindings.h cluster_scan_cursor_arginfo.h valkey_glide_arginfo.h valkey_glide_cluster_arginfo.h logger_arginfo.h
23+
$(shared_objects_valkey_glide): include/glide_bindings.h cluster_scan_cursor_arginfo.h valkey_glide_arginfo.h valkey_glide_cluster_arginfo.h logger_arginfo.h tests/client_constructor_mock_arginfo.h
2424

2525
# Backward compatibility alias
26-
build-modules-pre: include/glide_bindings.h cluster_scan_cursor_arginfo.h valkey_glide_arginfo.h valkey_glide_cluster_arginfo.h logger_arginfo.h
26+
build-modules-pre: include/glide_bindings.h cluster_scan_cursor_arginfo.h valkey_glide_arginfo.h valkey_glide_cluster_arginfo.h logger_arginfo.h tests/client_constructor_mock_arginfo.h
2727

2828
# Arginfo header dependencies
2929
cluster_scan_cursor_arginfo.h: cluster_scan_cursor.stub.php
@@ -38,6 +38,9 @@ valkey_glide_cluster_arginfo.h: valkey_glide_cluster.stub.php
3838
logger_arginfo.h: logger.stub.php
3939
@php -f $(top_srcdir)/build/gen_stub.php logger.stub.php || echo "logger arginfo generation failed"
4040

41+
tests/client_constructor_mock_arginfo.h: tests/client_constructor_mock.stub.php
42+
@php -f $(top_srcdir)/build/gen_stub.php tests/client_constructor_mock.stub.php || echo "client_constructor_mock arginfo generation failed"
43+
4144
include/glide_bindings.h:
4245
@echo "=== GENERATING HEADER FILE ==="
4346
@if [ -f .gitmodules ] && [ -d .git ]; then \

0 commit comments

Comments
 (0)