Verified Commit 791541fe authored by Bernd Paysan's avatar Bernd Paysan
Browse files

Added tests for ed25519-donna

parent ad826c79
Loading
Loading
Loading
Loading
Loading

.gitlab-ci.yml

0 → 100644
+23 −0
Original line number Diff line number Diff line
image: debian:unstable
 
before_script:
  - apt update -qq
  - ./install-deps.sh
 
stages:
  - build
 
build-distcheck:
  stage: build
  script:
    - ./autogen.sh
    - ./configure
    - make
    - make check-TESTS
    - dpkg-buildpackage -uc -us -d -b
    - mv ../*.deb build/debian
 
  # The files which are to be made available in GitLab
  artifacts:
    paths:
      - build/*
+10 −0
Original line number Diff line number Diff line
@@ -29,5 +29,15 @@ libed25519primsfast_la_LDFLAGS = -version-info ${VERSION} -no-undefined
libed25519primsfast_la_CFLAGS = @fastflags@
libed25519primsfast_la_SOURCES = ed25519-prims.c

TESTS = ./test ./test-internals
check_PROGRAMS = test test-internals
test_SOURCES = test.c ed25519.c
test_INCLUDES = test-ticks.h
test_CFLAGS = -DSTATIC=static -DED25519_REFHASH -DED25519_TEST
test_LDFLAGS = -led25519prims
test_internals_SOURCES = test-internals.c
test_internals_CFLAGS = -DSTATIC=static -DED25519_REFHASH -DED25519_TEST
test_internals_LDFLAGS = -led25519prims

install-exec-hook:
	-/sbin/ldconfig $(libdir)