GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — libusb/tests/Makefile.am at master · Raghuvardhan-Reddy78/libusb

Expand file tree

/

Makefile.am

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
69 lines (56 loc) · 2.1 KB
/

Makefile.am

Copy path

File metadata and controls

69 lines (56 loc) · 2.1 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
SUBDIRS =
if BUILD_FUZZERS
SUBDIRS += fuzz
endif
AM_CPPFLAGS = -I$(top_srcdir)/libusb
LDADD = ../libusb/libusb-1.0.la
if OS_HAIKU
# Haiku backend includes C++ objects and some toolchains do not ship
# static libstdc++. Keep tests dynamically linked to avoid static link failures.
test_static_link_flag =
else
test_static_link_flag = -static
endif
AM_LDFLAGS = $(test_static_link_flag)
stress_SOURCES = stress.c testlib.c
stress_mt_SOURCES = stress_mt.c
set_option_SOURCES = set_option.c testlib.c
init_context_SOURCES = init_context.c testlib.c
macos_SOURCES = macos.c testlib.c
testcore_SOURCES = testcore.c
stress_mt_CFLAGS = $(AM_CFLAGS) $(THREAD_CFLAGS)
stress_mt_LDADD = $(LDADD) $(THREAD_LIBS)
stress_mt_LDFLAGS = $(AM_LDFLAGS)
testcore_CFLAGS = $(AM_CFLAGS) $(THREAD_CFLAGS)
testcore_LDADD = $(LDADD) $(THREAD_LIBS)
testcore_LDFLAGS = $(AM_LDFLAGS)
if OS_EMSCRIPTEN
# On the Web you can't block the main thread as this blocks the event loop itself,
# causing deadlocks when trying to use async APIs like WebUSB.
# We use the PROXY_TO_PTHREAD Emscripten's feature to move the main app to a separate thread
# where it can block safely.
stress_mt_LDFLAGS += ${AM_LDFLAGS} -s PROXY_TO_PTHREAD -s EXIT_RUNTIME
testcore_LDFLAGS += ${AM_LDFLAGS} -s PROXY_TO_PTHREAD -s EXIT_RUNTIME
endif
noinst_HEADERS = libusb_testlib.h
noinst_PROGRAMS = stress stress_mt set_option init_context testcore
# testcore is an intentionally long-running stress test. CI sets
# --enable-testcore on master and for explicitly labelled pull requests.
TESTS = stress stress_mt set_option init_context
if RUN_TESTCORE
TESTS += testcore
endif
if OS_DARWIN
noinst_PROGRAMS += macos
TESTS += macos
endif
if BUILD_UMOCKDEV_TEST
# NOTE: We add libumockdev-preload.so so that we can run tests in-process
# We also use -Wl,-lxxx as the compiler doesn't need it and libtool
# would reorder the flags otherwise.
umockdev_CPPFLAGS = ${UMOCKDEV_CFLAGS} -I$(top_srcdir)/libusb
umockdev_LDFLAGS = -Wl,--push-state,--no-as-needed -Wl,-lumockdev-preload -Wl,--pop-state ${UMOCKDEV_LIBS}
umockdev_SOURCES = umockdev.c
noinst_PROGRAMS += umockdev
TESTS += umockdev
endif
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.