1 | # $Id: OpenFile.mak,v 1.1 2003-05-06 10:11:44 sandervl Exp $
|
---|
2 | #
|
---|
3 | # OpenFile testcases.
|
---|
4 | #
|
---|
5 | # Copyright (c) 2003 InnoTek Systemberatung GmbH
|
---|
6 | # Author: knut st. osmundsen <bird@anduin.net>
|
---|
7 | #
|
---|
8 | # Project Odin Software License can be found in LICENSE.TXT.
|
---|
9 | #
|
---|
10 | #
|
---|
11 |
|
---|
12 |
|
---|
13 | #
|
---|
14 | # Pre Setup Config.
|
---|
15 | #
|
---|
16 |
|
---|
17 |
|
---|
18 | #
|
---|
19 | # Include Setup.
|
---|
20 | #
|
---|
21 | PATH_ROOT=..\..\..
|
---|
22 | !include $(PATH_ROOT)\$(BUILD_SETUP_MAK)
|
---|
23 | !include $(PATH_MAKE)\testsuite.tools.mk
|
---|
24 | ALL_DEFINES = -DORIGINAL_VAC_FUNCTIONS
|
---|
25 |
|
---|
26 |
|
---|
27 | #
|
---|
28 | # Post Setup Config
|
---|
29 | #
|
---|
30 | TARGET_NAME = OpenFile
|
---|
31 | TARGET_MODE = EXE
|
---|
32 | MAKEFILE = $(TARGET_NAME).mak
|
---|
33 | BUILD_OWN_TESTCASE_RULE = 1
|
---|
34 |
|
---|
35 |
|
---|
36 | #
|
---|
37 | # Targets and libraries (if non default)
|
---|
38 | #
|
---|
39 | TARGET_LIBS = \
|
---|
40 | $(LIB_OS)\
|
---|
41 | !if "$(BUILD_PLATFORM)" == "OS2"
|
---|
42 | $(PATH_LIB)\kernel32.lib\
|
---|
43 | !endif
|
---|
44 | $(LIB_C_OBJ)
|
---|
45 |
|
---|
46 |
|
---|
47 |
|
---|
48 | #
|
---|
49 | # Include Processing Rules.
|
---|
50 | #
|
---|
51 | !include $(MAKE_INCLUDE_PROCESS)
|
---|
52 |
|
---|
53 |
|
---|
54 | #
|
---|
55 | # The testcase Rule.
|
---|
56 | #
|
---|
57 | testcase:
|
---|
58 | @$(ECHO) $(CLRFIL)OpenFile$(CLRTXT) - Running testcases.$(CLRRST)
|
---|
59 | @$(TS_EXEC_1) "OF_PARSE - non existing file." $(TS_EXEC_2) testcase-1
|
---|
60 | @$(TS_EXEC_1) "OF_PARSE - existing file. (the executable)" $(TS_EXEC_2) testcase-2
|
---|
61 | @$(TS_EXEC_1) "OF_PARSE - non existing dir and file." $(TS_EXEC_2) testcase-3
|
---|
62 | @$(TS_EXEC_1) "OF_PARSE - non existing file with searching." $(TS_EXEC_2) testcase-4
|
---|
63 | @$(TS_EXEC_1) "OF_PARSE - non existing file with searching." $(TS_EXEC_2) testcase-4
|
---|
64 | @$(TS_EXEC_1) "OF_PARSE - non existing file + other OF_s." $(TS_EXEC_2) testcase-5
|
---|
65 | @$(ECHO) $(CLRFIL)OpenFile$(CLRTXT) - Testcases Completed.$(CLRRST)
|
---|
66 |
|
---|
67 | #
|
---|
68 | # All in one rule.
|
---|
69 | # (Makefiles are fun! :-)
|
---|
70 | #
|
---|
71 | testcase-1 testcase-2 testcase-3 testcase-4 testcase-5:
|
---|
72 | @$(TARGET) $(@:testcase-=)
|
---|
73 |
|
---|