We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e528e98 commit c0f787dCopy full SHA for c0f787d
4 files changed
tests/halcompile/relative-header-user/checkresult
@@ -0,0 +1,2 @@
1
+#!/bin/sh
2
+[ -e "`dirname "$1"`/relative_header" ]
tests/halcompile/relative-header-user/local.h
@@ -0,0 +1 @@
+#define X 1
tests/halcompile/relative-header-user/relative_header.comp
@@ -0,0 +1,10 @@
+component relative_header;
+pin out bit out;
3
+include "local.h";
4
+license "GPL";
5
+option userspace yes;
6
+;;
7
+void user_mainloop(void) {
8
+ FOR_ALL_INSTS() { out = ! out; }
9
+ rtapi_delay(100 * 1000 * 1000);
10
+}
tests/halcompile/relative-header-user/test.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+set -e
+rm -f relative_header
+halcompile --compile relative_header.comp
0 commit comments