File: Makefile.am

package info (click to toggle)
snoopy 2.4.6-5
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,840 kB
  • sloc: ansic: 4,198; sh: 1,852; makefile: 756
file content (148 lines) | stat: -rw-r--r-- 2,864 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
### Include common Makefile configuration
#
include   $(top_srcdir)/build/Makefile.am.common



### Which tests to run
#
SCRIPT_PREFIX = datasource
TESTS  =
XFAIL_TESTS  =

if DATASOURCE_ENABLED_cmdline
    TESTS  = $(SCRIPT_PREFIX)_cmdline.sh
endif

if DATASOURCE_ENABLED_cwd
    TESTS  = $(SCRIPT_PREFIX)_cwd.sh
endif

if DATASOURCE_ENABLED_datetime
    TESTS  = $(SCRIPT_PREFIX)_datetime.sh
endif

#if DATASOURCE_ENABLED_domain
#    TESTS  = $(SCRIPT_PREFIX)_domain.sh
#endif

#if DATASOURCE_ENABLED_egid
#    TESTS  = $(SCRIPT_PREFIX)_egid.sh
#endif
#
#if DATASOURCE_ENABLED_egroup
#    TESTS  = $(SCRIPT_PREFIX)_egroup.sh
#endif

if DATASOURCE_ENABLED_env_all
    TESTS  = $(SCRIPT_PREFIX)_env_all.sh
endif
if DATASOURCE_ENABLED_env
    TESTS  = $(SCRIPT_PREFIX)_env-set.sh
    TESTS  = $(SCRIPT_PREFIX)_env-unset.sh
endif

if DATASOURCE_ENABLED_euid
    TESTS  = $(SCRIPT_PREFIX)_euid.sh
endif

if DATASOURCE_ENABLED_eusername
    TESTS  = $(SCRIPT_PREFIX)_eusername.sh
endif

if DATASOURCE_ENABLED_filename
    TESTS  = $(SCRIPT_PREFIX)_filename.sh
endif

if DATASOURCE_ENABLED_gid
    TESTS  = $(SCRIPT_PREFIX)_gid.sh
endif

if DATASOURCE_ENABLED_group
    TESTS  = $(SCRIPT_PREFIX)_group.sh
endif

if DATASOURCE_ENABLED_hostname
    TESTS  = $(SCRIPT_PREFIX)_hostname.sh
endif

#if DATASOURCE_ENABLED_login
#    TESTS  = $(SCRIPT_PREFIX)_login.sh
#endif

if DATASOURCE_ENABLED_pid
    TESTS  = $(SCRIPT_PREFIX)_pid.sh
endif

if DATASOURCE_ENABLED_ppid
    TESTS  = $(SCRIPT_PREFIX)_ppid.sh
endif

if DATASOURCE_ENABLED_rpname
    TESTS  = $(SCRIPT_PREFIX)_rpname.sh
endif

if DATASOURCE_ENABLED_sid
    TESTS  = $(SCRIPT_PREFIX)_sid.sh
endif

if DATASOURCE_ENABLED_snoopy_literal
    TESTS  = $(SCRIPT_PREFIX)_snoopy_literal.sh
endif

if THREAD_SAFETY_ENABLED
if DATASOURCE_ENABLED_snoopy_threads
    TESTS  = $(SCRIPT_PREFIX)_snoopy_threads.sh
endif
endif

if DATASOURCE_ENABLED_snoopy_version
    TESTS  = $(SCRIPT_PREFIX)_snoopy_version.sh
endif

#if DATASOURCE_ENABLED_tid
#    TESTS  = $(SCRIPT_PREFIX)_tid.sh
#endif
#
#if DATASOURCE_ENABLED_tid_kernel
#    TESTS  = $(SCRIPT_PREFIX)_tid_kernel.sh
#endif

if DATASOURCE_ENABLED_timestamp
    TESTS  = $(SCRIPT_PREFIX)_timestamp.sh
endif

if DATASOURCE_ENABLED_timestamp_ms
    TESTS  = $(SCRIPT_PREFIX)_timestamp_ms.sh
endif

#if DATASOURCE_ENABLED_timestamp_us
#    TESTS  = $(SCRIPT_PREFIX)_timestamp_us.sh
#endif

if DATASOURCE_ENABLED_tty
    TESTS  = $(SCRIPT_PREFIX)_tty.sh
endif

if DATASOURCE_ENABLED_tty_uid
    TESTS  = $(SCRIPT_PREFIX)_tty_uid.sh
endif

if DATASOURCE_ENABLED_tty_username
    TESTS  = $(SCRIPT_PREFIX)_tty_username.sh
endif

if DATASOURCE_ENABLED_uid
    TESTS  = $(SCRIPT_PREFIX)_uid.sh
endif

if DATASOURCE_ENABLED_username
    TESTS  = $(SCRIPT_PREFIX)_username.sh
endif



### Include tests in distribution archive
#
EXTRA_DIST  = _bootstrap.sh
EXTRA_DIST  = $(TESTS)