Procházet zdrojové kódy

Fix test environments

Alois Mahdal před 6 roky
rodič
revize
8712da8784
2 změnil soubory, kde provedl 3 přidání a 3 odebrání
  1. 2
    1
      packaging/debian/rules
  2. 1
    2
      packaging/template.spec

+ 2
- 1
packaging/debian/rules Zobrazit soubor

9
 	make install PREFIX=/usr DESTDIR=debian/tmp
9
 	make install PREFIX=/usr DESTDIR=debian/tmp
10
 
10
 
11
 override_dh_auto_test:
11
 override_dh_auto_test:
12
-	make test SHELLFU_PATH=$(shell pwd)/src
12
+	make test \
13
+		SHELLFU_PATH=$(shell pwd)/debian/tmp/usr/share/shellfu/include-bash

+ 1
- 2
packaging/template.spec Zobrazit soubor

36
 
36
 
37
 %check
37
 %check
38
 make test \
38
 make test \
39
-    "PATH=%{buildroot}%{_bindir}:$PATH" \
40
-    "SHELLFU_DIR=%{buildroot}%{_datadir}/%{name}"
39
+    SHELLFU_PATH=%{buildroot}/%{_datadir}/shellfu/include-bash
41
 
40
 
42
 %files
41
 %files
43
 %doc %{_docdir}/%{name}/README.md
42
 %doc %{_docdir}/%{name}/README.md