Import LinuxCNC source tree
This commit is contained in:
2
tests/halcompile/relative-header/.gitignore
vendored
Normal file
2
tests/halcompile/relative-header/.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
relative_header.so
|
||||
relative_header.ko
|
||||
2
tests/halcompile/relative-header/checkresult
Executable file
2
tests/halcompile/relative-header/checkresult
Executable file
@@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
[ -e "$(dirname "$1")/relative_header.so" ] || [ -e "$(dirname "$1")/relative_header.ko" ]
|
||||
1
tests/halcompile/relative-header/local.h
Normal file
1
tests/halcompile/relative-header/local.h
Normal file
@@ -0,0 +1 @@
|
||||
#define X 1
|
||||
7
tests/halcompile/relative-header/relative_header.comp
Normal file
7
tests/halcompile/relative-header/relative_header.comp
Normal file
@@ -0,0 +1,7 @@
|
||||
component relative_header;
|
||||
pin out bit out;
|
||||
include "local.h";
|
||||
function _;
|
||||
license "GPL";
|
||||
;;
|
||||
out = X;
|
||||
3
tests/halcompile/relative-header/test.sh
Executable file
3
tests/halcompile/relative-header/test.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
halcompile --compile relative_header.comp
|
||||
Reference in New Issue
Block a user