mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-04-16 21:30:45 +00:00

- postmortem tests: make sure the core files are created in the build folder - TestSourceManager: copy the .c file into the build dir before modifying it - TestLogging: create log files in the build folder After these changes I get a clean test run (on linux) even if I set the source tree to be read only. It's possible some of the skipped/xfailed tests are still creating files in the source tree, but at the moment, I don't have plans to go hunting for those. llvm-svn: 328106
14 lines
205 B
Makefile
14 lines
205 B
Makefile
LEVEL = ../make
|
|
|
|
C_SOURCES := main-copy.c
|
|
|
|
include $(LEVEL)/Makefile.rules
|
|
|
|
# Copy file into the build folder to enable the test to modify it.
|
|
main-copy.c: main.c
|
|
cp -f $< $@
|
|
|
|
|
|
clean::
|
|
$(RM) main-copy.c
|