Sha256: bc14a58ad4722a5c2de42eed839f687de0985c3e077d4a074042dcbcf4391fdc

Contents?: true

Size: 1.01 KB

Versions: 1

Compression:

Stored size: 1.01 KB

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"
	@cp "../python/_pasta.so" "../python/_libpasta.so"
	LD_LIBRARY_PATH=$(LD_LIBRARY_PATH)python/ \
	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

1 entries across 1 versions & 1 rubygems

Version Path
libpasta-0.1.0.pre.rc0-x86_64-linux ext/pasta-bindings/tests/Makefile