[Debian-on-mobile-maintainers] [Git][DebianOnMobile-team/libomemo][wip/fix-reprotest] 2 commits: ci: atomic reprotests

Evangelos Ribeiro Tzaras gitlab at salsa.debian.org
Thu Jan 14 11:00:29 GMT 2021



Evangelos Ribeiro Tzaras pushed to branch wip/fix-reprotest at Debian On Mobile / libomemo


Commits:
35722447 by Evangelos Ribeiro Tzaras at 2021-01-14T11:49:19+01:00
ci: atomic reprotests

- - - - -
c25ef841 by Evangelos Ribeiro Tzaras at 2021-01-14T11:59:40+01:00
d/patches: there might be a race condition

when multiple jobs are running in parallel

 might be moving files from a different job

leaving no files behind matching '*.g*' for the other run

resulting on failure to execute  on other job

- - - - -


2 changed files:

- debian/patches/fix-reprotest.patch
- debian/salsa-ci.yml


Changes:

=====================================
debian/patches/fix-reprotest.patch
=====================================
@@ -2,14 +2,15 @@ From: Evangelos Ribeiro Tzaras <devrtz-debian at fortysixandtwo.eu>
 Subject: WIP: Fix locale variations failing in reprotest
 --- a/Makefile
 +++ b/Makefile
-@@ -118,17 +118,26 @@
+@@ -118,19 +118,28 @@
  test_libomemo: $(TDIR)/test_libomemo.c $(SDIR)/libomemo.c
  	$(CC) $(COVFLAGS) $<  $(FILES) -o $(TDIR)/$@.o $(TESTFLAGS)
  	-$(TDIR)/$@.o
+-	mv *.g* $(TDIR)
 +	ls -la
 +	ls *.g*
 +	ls -l $(TDIR)
- 	mv *.g* $(TDIR)
++	find .  -maxdepth 1 -iname '*.g*' -exec mv {} $(TDIR) \;
  
  .PHONY: test_crypto
  test_crypto: $(TDIR)/test_crypto.c $(SDIR)/libomemo_crypto.c
@@ -18,7 +19,8 @@ Subject: WIP: Fix locale variations failing in reprotest
 +	ls *.g*
 +	ls -l $(TDIR)
  	-$(TDIR)/$@.o
- 	mv *.g* $(TDIR)
+-	mv *.g* $(TDIR)
++	find .  -maxdepth 1 -iname '*.g*' -exec mv {} $(TDIR) \;
  
  .PHONY: test_storage
  test_storage: $(TDIR)/test_storage.c $(SDIR)/libomemo_storage.c
@@ -27,5 +29,8 @@ Subject: WIP: Fix locale variations failing in reprotest
 +	ls *.g*
 +	ls -l $(TDIR)
  	-$(TDIR)/$@.o
- 	mv *.g* $(TDIR)
+-	mv *.g* $(TDIR)
++	find .  -maxdepth 1 -iname '*.g*' -exec mv {} $(TDIR) \;
  
+ .PHONY: test
+ test : test_libomemo test_crypto test_storage


=====================================
debian/salsa-ci.yml
=====================================
@@ -5,4 +5,5 @@ include:
 
 variables:
   SALSA_CI_DISABLE_BUILD_PACKAGE_ALL: 1
-  SALSA_CI_DISABLE_APTLY: 0
+  SALSA_CI_DISABLE_APTLY: 1
+  SALSA_CI_ENABLE_ATOMIC_REPROTEST: 1



View it on GitLab: https://salsa.debian.org/DebianOnMobile-team/libomemo/-/compare/94597b44e7e45514118f66418113d0369647db21...c25ef8419ebe959f4c3fb80154e044f2b5b48815

-- 
View it on GitLab: https://salsa.debian.org/DebianOnMobile-team/libomemo/-/compare/94597b44e7e45514118f66418113d0369647db21...c25ef8419ebe959f4c3fb80154e044f2b5b48815
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-on-mobile-maintainers/attachments/20210114/fe8f37c2/attachment-0001.html>


More information about the Debian-on-mobile-maintainers mailing list