Import LinuxCNC source tree

This commit is contained in:
Wang Dequan
2026-08-20 06:17:39 +08:00
commit 2c814634c3
9429 changed files with 10556013 additions and 0 deletions

1
tests/hal-stream/README Normal file
View File

@@ -0,0 +1 @@
Creating a hal stream should fail if the cfg string is invalid.

View File

@@ -0,0 +1 @@
pass

13
tests/hal-stream/streamtest.py Executable file
View File

@@ -0,0 +1,13 @@
#!/usr/bin/env python3
import hal
c = hal.component("stream_test")
try:
writer = hal.stream(c, hal.streamer_base, 10, "xx")
except:
pass
else:
assert False, "hal.stream should fail with invalid cfg arg"
c.ready()
print("pass")

View File

@@ -0,0 +1 @@
loadusr -w ./streamtest.py