about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-03-09 20:03:46 -0800
committerKartik Agaram <vc@akkartik.com>2019-03-09 20:03:46 -0800
commitc0d37cee02ad48160d1a5a9e187bc4721c3684be (patch)
tree3dfd303b72c0ff0933ba8b57db4d436599af2a53
parent257ebf7f508d0a0352abf732019f00a1b3962741 (diff)
downloadmu-c0d37cee02ad48160d1a5a9e187bc4721c3684be.tar.gz
4998
Start running binaries natively in test_layers as well.

CI is still broken; need to investigate where my SubX emulation has a discrepancy
with native x86.
-rwxr-xr-xsubx/test_layers5
1 files changed, 5 insertions, 0 deletions
diff --git a/subx/test_layers b/subx/test_layers
index 288fab10..523d82b8 100755
--- a/subx/test_layers
+++ b/subx/test_layers
@@ -23,4 +23,9 @@ do
   echo "=== $f"
   ./subx translate $(../enumerate/enumerate --until $f |grep '\.subx$') -o foo  &&  ./subx run foo
   echo
+  test `uname` = 'Linux'  &&  {
+    chmod +x foo
+    ./foo
+    echo
+  }
 done
134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228