Skip to content
This repository has been archived by the owner on Jun 27, 2019. It is now read-only.

Commit

Permalink
soleta_git.bb: don't make regexp tests depend on machine id
Browse files Browse the repository at this point in the history
Otherwise if it fail to fetch machine id tests
with regexp tests will fail.

Signed-off-by: Bruno Dilly <[email protected]>
  • Loading branch information
bdilly committed Jul 22, 2016
1 parent 640e4fa commit efbae2a
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
From 8c3264f7982e7716814ef3e0914cf59d63a04e9f Mon Sep 17 00:00:00 2001
From: Bruno Dilly <[email protected]>
Date: Fri, 22 Jul 2016 14:24:59 -0300
Subject: [PATCH] tests: don't make regexp tests depend on machine id

Otherwise if it fail to fetch machine id tests
will regexp tests will fail.

Signed-off-by: Bruno Dilly <[email protected]>
---
src/test-fbp/string-pcre-regexp-search.fbp | 11 -----------
1 file changed, 11 deletions(-)

diff --git a/src/test-fbp/string-pcre-regexp-search.fbp b/src/test-fbp/string-pcre-regexp-search.fbp
index 058690e..d763e46 100644
--- a/src/test-fbp/string-pcre-regexp-search.fbp
+++ b/src/test-fbp/string-pcre-regexp-search.fbp
@@ -85,14 +85,3 @@ _(string/uuid:with_hyphens=true,upcase=true) OUT -> IN regexp_search_13(string/r
regexp_search_13 LENGTH -> IN[0] cmp_13(int/equal)
_(constant/int:value=4) OUT -> IN[1] cmp_13
cmp_13 OUT -> RESULT result_13(test/result)
-
-_(platform/machine-id) OUT -> IN regexp_search_14(string/regexp-search:regexp="((?:[a-f]|[0-9]){32})")
-regexp_search_14 LENGTH -> IN[0] cmp_14(int/equal)
-_(constant/int:value=2) OUT -> IN[1] cmp_14
-cmp_14 OUT -> RESULT result_14(test/result)
-
-_(platform/machine-id) OUT -> IN regexp_replace_15(string/regexp-replace:regexp="((?:[a-f]|[0-9]){8})((?:(?:[a-f]|[0-9]){4}))((?:(?:[a-f]|[0-9]){4}))((?:(?:[a-f]|[0-9]){4}))((?:[a-f]|[0-9]){12})",to="\\1-\\2-\\3-\\4-\\5")
-regexp_replace_15 OUT -> IN regexp_search_15(string/regexp-search:regexp="((?:[a-f]|[0-9]){8}-)((?:(?:[a-f]|[0-9]){4}-){3})((?:[a-f]|[0-9]){12})")
-regexp_search_15 LENGTH -> IN[0] cmp_15(int/equal)
-_(constant/int:value=4) OUT -> IN[1] cmp_15
-cmp_15 OUT -> RESULT result_15(test/result)
--
2.4.11

1 change: 1 addition & 0 deletions recipes-soletta/soletta/soletta_git.bb
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ SRC_URI = "gitsm://github.com/solettaproject/soletta.git;protocol=git \
file://i2c-dev.conf \
file://iio-trig-sysfs.conf \
file://0001-test-fbp-drop-tests-that-may-timeout.patch \
file://0001-tests-don-t-make-regexp-tests-depend-on-machine-id.patch \
"
SRCREV = "516cf9448d87eec1decf65590e32547efb59dad6"

Expand Down

0 comments on commit efbae2a

Please sign in to comment.