It didn't end well because blind nationalist from both sides wants to ridiculed opponent's product as dud. Fact is Tejas is an Indian origin fighter with hell lot of limitations and struggled a lot to see the lime light and finally somehow it managed to gat in to service.
Jf17 in other hand is a chinese designed fighter for pakistan and license producing in pakistan with the aid of china, which is inducted long back.
As on now, jf17 is a hugely successful fighter program while comparing with Tejas fighter program. Its something like ( not exactly same) b52 is a hugely successful bomber program than b2 stealth.
Put it this way.
How many countries of the world want to sell weapons to India? Pretty much everyone.
How many countries want to sell weapons to Pakistan?
May be china and Turkey.
So we can only do as per our options.
India has the luxury of buying weapons from anywhere and then on a side , running an indigenous program for as long as it takes.
We can't do that.
We have to meet our defence needs while putting in as much input of our own as we can without causing any delays.
India could and still can take as much time as they want to tweak Tejas.
Their defence needs are covered by SU-30 and will be enhanced by Rafale.
Pakistan walks on a tight rope. The F-16 is a bubble which cam burst anytime by US sanctions.
So taking time to hone oqn skills for building own jet is not an option as defence needs won't be met.
That's why JF-17 was and still being fast tracked and tested while being in use.
If you remember there was a JF-17 crash on 14-NOV-2011 near Attock. The plane crashed due to a design flaw.
Under certain G force and meneuvering conditions the wings flexed so much that the plane became instable beyond the capability of the flight control computer.
So the flaw was two folds. Structural and computational.
Normally fighter jets only come into service after such flaws are ironed out.
But like I said, Pakistan don't have this luxury.
Most Indians and many Pakistani who constantly tease Pakistan for not going 100% indigenous, ignore or are ignorant of above mentioned situations Pakistan is facing.