tests
system module tests
<img align="right" src="https://github.com/mearvk/SLeeLa/blob/master/images/debian/debian-logo.png" width="75" height="75" alt="SLeeLa">
<img src="https://github.com/mearvk/SLeeLa/blob/master/images/sleela/sleela-logo-004.jpg" alt="SLeeLa">
SLeeLa Native and Integration Tests
Tests are organized around completion gates: memory safety, reflection metadata, Nordshrift binding resolution, lowering/artifact compatibility, networking, HTTP, server lifecycle, VoIP, drivers, package verification and cross-platform behavior.
Native test build dependencies
The default native smoke-test build compiles the networking/security check against OpenSSL's SHA-256 implementation and links the platform socket layer.
Install the OpenSSL development package before running make -C tests all:
- Debian / Ubuntu:
sudo apt-get install build-essential libssl-dev - Fedora:
sudo dnf install gcc-c++ openssl-devel - Arch Linux:
sudo pacman -S base-devel openssl - macOS (Homebrew):
brew install openssl@3 pkg-config - Windows (MSYS2 UCRT64):
pacman -S mingw-w64-ucrt-x86_64-gcc mingw-w64-ucrt-x86_64-openssl mingw-w64-ucrt-x86_64-pkgconf
The Makefile obtains non-default OpenSSL include and library paths from
pkg-config. If OpenSSL is installed in a custom prefix, set
OPENSSL_CFLAGS and OPENSSL_LIBS explicitly. The Windows build uses
Winsock through -lws2_32; build from the matching MSYS2 MinGW/UCRT64 shell.
JDK 28 Java Conformance
jdk28_functional_equivalence.py audits every lib/java/**/*.sleela declaration against the official JDK 28 API index.
It has two gates:
- API identity / envelope contract โ verifies that each declaration identifies a documented JDK 28 type and exposes the required SLeeLa Java bridge operations.
- Functional equivalence โ requires the SLeeLa declaration to represent the Java cousin's actual API surface. A generated source envelope alone does not satisfy this gate.
This distinction is intentional: a type-name envelope is not evidence that the Java class is functionally implemented. CI therefore reports the current gap instead of treating invoke() as a substitute for the Java API.
Run locally:
python3 tests/jdk28_functional_equivalence.py
python3 tests/jdk28_functional_equivalence.py --functional
SLeeLa
<p align="center"><img src="images/sleela/sleela-wordmark.svg" alt="SLeeLa โ The Now. The Ingredient." width="560"></p> <p align="center"><img src="https://github.com/mearvk/SLeeLa/blob/master/images/sleela-programming-language-002.jpg" alt="SLeeLa Marketing Logo" width="560"></p>
Files 78
- character_recognition_smoke.c
- http-1.0/fuzz_download_metadata.c
- http-1.0/README.md
- JAVA.QUALIFICATION.MANIFEST.md
- java_api_dependency_graph_suite.py
- java_api_dependency_suite.py
- java_api_member_dependencies_suite.py
- java_api_visibility_constructor_suite.py
- java_constraints/final-reassignment.java
- java_constraints/forbidden-conversion.java
- java_constraints/incompatible-override-throws.java
- java_constraints/interface-default-conflict.java
- java_constraints/manifest.json
- java_constraints/missing-api-counterpart.sleela
- java_constraints/overload-ambiguity.java
- java_constraints/README.md
- java_constraints/redundant-catch.java
- java_constraints/unhandled-checked-exception.java
- java_constraints/unreachable.java
- java_constraints/use-before-assignment.java
- java_constraints_suite.py
- java_conversion_semantics.cpp
- java_equivalence/EquivalenceBasic.java
- java_equivalence/EquivalenceBasic.sleela
- java_equivalence/ExpressionSurface.java
- java_equivalence/ExpressionSurface.sleela
- java_equivalence/SignatureNormalization.java
- java_equivalence/SignatureNormalization.sleela
- java_exceptions.cpp
- java_exceptions_suite.py
- java_flow_021_semantics.cpp
- java_flow_021_suite.py
- java_flow_semantics.cpp
- java_flow_suite.py
- java_object_identity_native.sleela
- java_object_identity_native_suite.py
- java_overload_override.cpp
- java_platform_qualification.py
- java_platform_qualification_suite.py
- java_platforms.json
- java_qualification_manifest.py
- java_qualification_manifest_suite.py
- java_signature_comparison.py
- java_signature_comparison_suite.py
- java_source_equivalence.py
- java_source_implementation_audit.py
- java_source_implementation_audit_suite.py
- java_string_native.sleela
- java_string_native_suite.py
- javaconv_differential_test.sh
- jdk28_functional_equivalence.py
- Makefile
- native_memory_smoke.cpp
- network_security_smoke.cpp
- nordshrift_complete_smoke.cpp
- proposals/extended-for-loop-health-guards.sleela
- README.md
- reflection_smoke.cpp
- runtime_smoke.cpp
- sleela-syntax-1.8/constructor-args-pass.sleela
- sleela-syntax-1.8/constructor-arity-invalid.sleela
- sleela-syntax-1.8/constructor-overload-unsupported.sleela
- sleela-syntax-1.8/let-inference-invalid-null.sleela
- sleela-syntax-1.8/let-inference-pass.sleela
- sleela-syntax-1.8/README.md
- sleela-syntax-1.8/run_syntax_1_8_tests.sh
- sleela-syntax-1.9/gc-hint-contextual.sleela
- sleela-syntax-1.9/gc-hint-liveness.sleela
- sleela-syntax-1.9/gc-hint-pass.sleela
- sleela-syntax-1.9/gc-hint-range-invalid.sleela
- sleela-syntax-1.9/gc-hint-stress-arrays.sleela
- sleela-syntax-1.9/gc-hint-stress-structs.sleela
- sleela-syntax-1.9/gc-hint-version-invalid.sleela
- sleela-syntax-1.9/ran-namespace-pass.sleela
- sleela-syntax-1.9/ran-namespace-unknown.sleela
- sleela-syntax-1.9/README.md
- sleelactl_cli_test.sh
- sleelactl_systemctl_scope_test.sh