File: tests_use_installed_binaries.patch

package info (click to toggle)
bedops 2.4.42%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 20,860 kB
  • sloc: ansic: 28,599; cpp: 15,359; sh: 2,704; makefile: 2,687; xml: 1,669; python: 1,581; csh: 823; perl: 365; java: 172
file content (45 lines) | stat: -rw-r--r-- 1,370 bytes parent folder | download | duplicates (3)
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
Author: Shayan Doust
Last-Update: 2019-09-13 20:40:49 +0100
Description: use the installed binaries instead of the locally generated ones

--- a/tests/starch/Makefile
+++ b/tests/starch/Makefile
@@ -1,15 +1,15 @@
 APPGROUP = starch
 CWD := $(abspath $(patsubst %/,%,$(dir $(abspath $(lastword $(MAKEFILE_LIST))))))
-STARCH = $(CWD)/../../bin/starch
+STARCH = bedops-starch
 STARCHBIN = starch
-UNSTARCH = $(CWD)/../../bin/unstarch
+UNSTARCH = unstarch
 UNSTARCHBIN = unstarch
-STARCHCAT = $(CWD)/../../bin/starchcat
+STARCHCAT = starchcat
 STARCHCATBIN = starchcat
-STARCHSTRIP = $(CWD)/../../bin/starchstrip
+STARCHSTRIP = starchstrip
 STARCHSTRIPBIN = starchstrip
-SORTBED = $(CWD)/../../bin/sort-bed
-BEDMAP = $(CWD)/../../bin/bedmap
+SORTBED = sort-bed
+BEDMAP = bedmap
 TMP := $(shell mktemp -d)
 DATA = $(CWD)/data
 SHELL := /bin/bash
@@ -108,4 +108,4 @@
 starchstrip_prep:
 	@[ -f $(STARCHSTRIP) ] || echo "Missing binary [$(STARCHSTRIP)] for build type [$(BUILDTYPE)]"
 	@echo "Writing to [$(TMP)]"
-	$(STARCHSTRIP) --version
\ No newline at end of file
+	$(STARCHSTRIP) --version
--- a/tests/bedops/Makefile
+++ b/tests/bedops/Makefile
@@ -1,6 +1,6 @@
 APP = bedops
 CWD := $(abspath $(patsubst %/,%,$(dir $(abspath $(lastword $(MAKEFILE_LIST))))))
-BIN = $(CWD)/../../bin/bedops
+BIN = bedops
 TMP := $(shell mktemp -d)
 DATA = $(CWD)/data
 SHELL := /bin/bash