d4f6e58fcb
Bare tests are standalone assembly tests that don't require linking to any libc and hence can be built with kernel only compilers. The libc tests need a compiler capable of building properly linked userspace binaries. As we don't have such a cross compiler at the moment we won't be building those tests. Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
17 lines
374 B
C
17 lines
374 B
C
/* Check that the simulator has chdir:ed to the --sysroot argument
|
|
#sim: --sysroot=@srcdir@
|
|
(or that --sysroot is applied to relative file paths). */
|
|
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <errno.h>
|
|
int main (int argc, char *argv[])
|
|
{
|
|
FILE *f = fopen ("check_openpf2.c", "rb");
|
|
if (f == NULL)
|
|
abort ();
|
|
fclose(f);
|
|
printf ("pass\n");
|
|
return 0;
|
|
}
|