Israel Komolehin pushed to branch master at Debian Med / ghmm


Commits:
9ed18967 by Komolehin Israel Timilehin at 2024-01-26T14:34:02+00:00
Updated tests. Skipped two test executions due to segfault

- - - - -
11fedf45 by Komolehin Israel Timilehin at 2024-01-26T14:34:55+00:00
Updated test documentation

- - - - -


2 changed files:

- debian/tests/README.md
- debian/tests/autopkgtest.mk


Changes:

=====================================
debian/tests/README.md
=====================================
@@ -2,16 +2,8 @@
 
 Test in python can be referenced 
[here](https://ghmm.sourceforge.net/documentation.html)
 
+## GHMM test in C
 
-## Executed commands
-
-
-#### Error
-
-##### Missing files in installed libghmm. These missing files are blockers for 
some tests
-
--   `ghmm/matrix.h`
--   `ghmm/matrixop.h`
--   `ghmm_internals.h`
--   `randvar.h`
--   `mes.h`
\ No newline at end of file
+The following tests were skipped due to segfault:
+-   `test_mcmc`
+-   `test_chmm`
\ No newline at end of file


=====================================
debian/tests/autopkgtest.mk
=====================================
@@ -3,7 +3,7 @@ CFLAGS=-I/usr/include/ghmm
 LDFLAGS=-lghmm -llapack
 
 
-all: test_label_higher_order test_two_states_three_symbols test_libxml 
test_read_fa test_sequences 
+all: test_label_higher_order test_two_states_three_symbols test_libxml 
test_read_fa test_sequences test_chmm test_chmm_test test_coin_toss test_mcmc 
test_randvar
 
 test_label_higher_order: label_higher_order_test.o
        $(CC) $^ -o $@ $(LDFLAGS) -lm
@@ -20,16 +20,35 @@ test_read_fa: read_fa.o
 test_sequences: sequences_test.o
        $(CC) $^ -o $@ $(LDFLAGS)
 
+test_chmm: chmm.o
+       $(CC) $^ -o $@ $(LDFLAGS)
+
+test_chmm_test: chmm_test.o
+       $(CC) $^ -o $@ $(LDFLAGS)
+
+test_coin_toss: coin_toss_test.o
+       $(CC) $^ -o $@ $(LDFLAGS)
+
+test_mcmc: mcmc.o
+       $(CC) $^ -o $@ $(LDFLAGS)
+
+test_randvar: randvar_test.o
+       $(CC) $^ -o $@ $(LDFLAGS)
+
 %.o: %.c
        $(CC) -c $< -o $@ $(CFLAGS)
 
 clean:
-       rm -f *.o test_label_higher_order test_two_sates_three_symbols 
test_libxml test_read_fa test_sequences
+       rm -f *.o test_* words.txt
 
 run: all
        ./test_label_higher_order
        ./test_two_states_three_symbols
        ./test_libxml
        ./test_sequences
+       ./test_chmm_test
+       ./test_coin_toss
+       ./test_randvar
        # read_fa needs seqence and model to be passed as arguments
-       # ./test_read_fa 
\ No newline at end of file
+       # ./test_read_fa 
+       # ./test_chmm and ./test_mcmc returns SEGFAULT
\ No newline at end of file



View it on GitLab: 
https://salsa.debian.org/med-team/ghmm/-/compare/0d8be32b72169d46487056adbb3416643031dd55...11fedf4559b5a26d4b3c5a4d53ce7fc126da9e4d

-- 
View it on GitLab: 
https://salsa.debian.org/med-team/ghmm/-/compare/0d8be32b72169d46487056adbb3416643031dd55...11fedf4559b5a26d4b3c5a4d53ce7fc126da9e4d
You're receiving this email because of your account on salsa.debian.org.


_______________________________________________
debian-med-commit mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to