File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -99,6 +99,14 @@ opam install cudajit # for CUDA backend
99992 . Environment variables: ` OCANNL_<OPTION>=<value> ` (e.g., ` OCANNL_BACKEND=cuda ` )
1001003 . Config file: ` ocannl_config ` in current or ancestor directories
101101
102+ ** Testing with Different Configurations** :
103+ - When using environment variables for test configuration, Dune won't detect changes and may skip tests
104+ - ** Warning** : ` dune test --force ` does NOT re-run expect tests (only rules with alias fields)
105+ - Reliable ways to ensure tests run with new configuration:
106+ 1 . Modify ` test/config/ocannl_config ` directly
107+ 2 . Run ` dune clean ` before testing
108+ 3 . Touch/modify test source files
109+
102110** Important Debug Settings** :
103111- ` output_debug_files_in_build_directory=true ` - enables ` build_files/ ` generation
104112- ` debug_log_from_routines=true ` - enables runtime logging
You can’t perform that action at this time.
0 commit comments