Sha256: 4de290faa195dc3b3b576ef5ed51bbff42525c3e3bd87cbeff6cfb74ef6adc32

Contents?: true

Size: 978 Bytes

Versions: 3

Compression:

Stored size: 978 Bytes

Contents

LD_LIBRARY_PATH="../"
NATIVE_LIBS=-lcrypto -lc -lm -lc -lutil -lutil -ldl -lrt -lpthread -lgcc_s -lc -lm -lrt -lpthread -lutil

all: c java javascript go php python ruby

c:
	@printf "\nTest C:\n"
	@echo -e "\e[1;33mC tests should be performed using the libpasta repo in the libpasta-capi/ folder.\e[0m"

java:
	@printf "\nTest Java:\n"
	@echo -e "\e[1;33mJava tests should be performed using the libpasta-java repo.\e[0m"

javascript:
	@printf "\nTest Javascript (node.js)\n"
	cd ../javascript && node-gyp build

go:
	@printf "\nTest Go:\n"
	go test

php5 php56 php:
	@printf "\nTest PHP:\n"
	@$(PHP_BIN) test.php || \
	echo -e "\e[1;33mPHP requires either installing libpasta (try: make install_php), or enabling dynamically loaded extensions.\e[0m"


python:
	@printf "\nTest Python:\n"
	LD_LIBRARY_PATH=$(LD_LIBRARY_PATH) \
	python2 test.py

ruby:
	@printf "\nTest Ruby\n"
	LD_LIBRARY_PATH=$(LD_LIBRARY_PATH) \
	ruby test.rb

.PHONY: all c java javascript go php python ruby

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
libpasta-0.0.6-x86_64-linux ext/pasta-bindings/tests/Makefile
libpasta-0.0.5 ext/pasta-bindings/tests/Makefile
libpasta-0.0.5-x86_64-linux ext/pasta-bindings/tests/Makefile