| … | … | @@ -243,7 +243,6 @@ g++ -o test_handshake_pool \ |
| 243 | 243 | $OBJ/noise_stream.o $OBJ/dht_rpc.o $OBJ/holepuncher.o $OBJ/hyperdht.o \ |
| 244 | 244 | $UDX_OBJS $LDFLAGS |
| 245 | 245 | echo " OK: test_handshake_pool" |
| 246 | | echo "=== All test binaries built successfully ===" |
| 247 | 246 | |
| 248 | 247 | # ---- test_find_peer_exhausted ---- |
| 249 | 248 | # A connect attempt must fail when find_peer EXHAUSTS, not 30s later. See |
| … | … | @@ -289,3 +288,41 @@ g++ -o test_self_announce_live \ |
| 289 | 288 | $OBJ/noise_stream.o $OBJ/dht_rpc.o $OBJ/holepuncher.o $OBJ/hyperdht.o \ |
| 290 | 289 | $UDX_OBJS $LDFLAGS |
| 291 | 290 | echo " OK: test_self_announce_live" |
| 291 | |
| 292 | # ---- test_compact_encoding ---- |
| 293 | # ⛔ THESE FOUR WERE NOT IN THIS SCRIPT. Their binaries sat on disk from |
| 294 | # February while the sources moved under them, so running ./test_compact_encoding |
| 295 | # measured a build from another era — the exact trap §5 of hyper-games #17 |
| 296 | # describes, reached a second way: not a half-updated object cache, but a target |
| 297 | # the script never had. A gate the build does not rebuild is not a gate. |
| 298 | echo "Building test_compact_encoding..." |
| 299 | g++ $CXXFLAGS -o $OBJ/test_compact_encoding.o test_compact_encoding.cpp |
| 300 | g++ -o test_compact_encoding $OBJ/test_compact_encoding.o $UDX_OBJS $LDFLAGS |
| 301 | echo " OK: test_compact_encoding" |
| 302 | |
| 303 | # ---- test_phase3 ---- |
| 304 | echo "Building test_phase3..." |
| 305 | g++ $CXXFLAGS -o $OBJ/test_phase3.o test_phase3.cpp |
| 306 | g++ -o test_phase3 $OBJ/test_phase3.o $OBJ/noise_ik.o $UDX_OBJS $LDFLAGS |
| 307 | echo " OK: test_phase3" |
| 308 | |
| 309 | # ---- test_dht_godot_style ---- |
| 310 | echo "Building test_dht_godot_style..." |
| 311 | g++ $CXXFLAGS -o $OBJ/test_dht_godot_style.o test_dht_godot_style.cpp |
| 312 | g++ -o test_dht_godot_style \ |
| 313 | $OBJ/test_dht_godot_style.o $OBJ/noise_ik.o $OBJ/dht_rpc.o \ |
| 314 | $OBJ/holepuncher.o $OBJ/hyperdht.o $OBJ/dht_connector.o \ |
| 315 | $UDX_OBJS $LDFLAGS |
| 316 | echo " OK: test_dht_godot_style" |
| 317 | |
| 318 | # ---- test_live_lookup ---- |
| 319 | # Needs a real DHT: it looks a key up for real. Built here so it cannot rot. |
| 320 | echo "Building test_live_lookup..." |
| 321 | g++ $CXXFLAGS -o $OBJ/test_live_lookup.o test_live_lookup.cpp |
| 322 | g++ -o test_live_lookup \ |
| 323 | $OBJ/test_live_lookup.o $OBJ/noise_ik.o $OBJ/dht_rpc.o \ |
| 324 | $OBJ/holepuncher.o $OBJ/hyperdht.o $OBJ/dht_connector.o \ |
| 325 | $UDX_OBJS $LDFLAGS |
| 326 | echo " OK: test_live_lookup" |
| 327 | |
| 328 | echo "=== All test binaries built successfully ===" |